nvim: move luasnip dep to lsp declaration
This commit is contained in:
parent
aea3d88329
commit
11059147e5
|
@ -3,6 +3,7 @@ require('keymaps')
|
|||
|
||||
use {
|
||||
'https://github.com/neovim/nvim-lspconfig',
|
||||
requires = 'https://github.com/L3MON4D3/LuaSnip',
|
||||
config = function()
|
||||
map('n', '<space>e', vim.diagnostic.open_float)
|
||||
map('n', '<f5>', vim.diagnostic.goto_prev)
|
||||
|
|
|
@ -11,16 +11,15 @@ use = packer.use
|
|||
|
||||
use 'https://github.com/wbthomason/packer.nvim'
|
||||
|
||||
-- common dependencies
|
||||
-- common dependencies which require setup
|
||||
use {
|
||||
'https://github.com/nvim-treesitter/nvim-treesitter',
|
||||
run = function()
|
||||
require('nvim-treesitter.install').update({ with_sync = true })
|
||||
end
|
||||
}
|
||||
use 'https://github.com/L3MON4D3/LuaSnip'
|
||||
|
||||
-- compile and install new plugins when this is save in this dir are written
|
||||
-- compile and install new plugins when lua files in this dir are written
|
||||
vim.cmd([[
|
||||
augroup packer_user_config
|
||||
autocmd!
|
||||
|
|
Loading…
Reference in New Issue
Block a user