mirror of
https://codeberg.org/qwjyh/dotfiles.git
synced 2025-06-27 03:39:20 +09:00
add: neovim configs (init.lua & basic LSP support)
- basic settings - Packer.nvim for package managing - LSP support - lsp-cmp - mason
This commit is contained in:
parent
f151ac88b7
commit
978bc31eae
2 changed files with 163 additions and 0 deletions
23
dotfiles/neovim/lua/plugins.lua
Normal file
23
dotfiles/neovim/lua/plugins.lua
Normal file
|
@ -0,0 +1,23 @@
|
|||
vim.cmd [[packadd packer.nvim]]
|
||||
|
||||
return require('packer').startup(function(use)
|
||||
use 'wbthomason/packer.nvim'
|
||||
|
||||
-- fzf
|
||||
use { 'ibhagwan/fzf-lua',
|
||||
-- optional icon
|
||||
--requires = { 'kyazdan142/nvim-web/devicons' } -- not found
|
||||
}
|
||||
|
||||
-- LSP
|
||||
use 'neovim/nvim-lspconfig'
|
||||
use "williamboman/mason.nvim"
|
||||
use "williamboman/mason-lspconfig.nvim"
|
||||
use "hrsh7th/nvim-cmp"
|
||||
use "hrsh7th/cmp-nvim-lsp"
|
||||
use "hrsh7th/vim-vsnip"
|
||||
|
||||
-- Julia
|
||||
use "JuliaEditorSupport/julia-vim"
|
||||
|
||||
end)
|
Loading…
Add table
Add a link
Reference in a new issue