nvim: Setup lspconfig
Anirudh Oppiliappan x@icyphox.sh
Wed, 10 Feb 2021 11:26:53 +0530
3 files changed,
4 insertions(+),
0 deletions(-)
M
config/nvim/init.lua
→
config/nvim/init.lua
@@ -14,6 +14,8 @@ paq 'wellle/targets.vim'
paq 'tpope/vim-rsi' paq 'editorconfig/editorconfig-vim' paq 'zah/nim.vim' +paq 'neovim/nvim-lspconfig' +paq 'nvim-lua/completion-nvim' require('settings') require('maps')
A
config/nvim/lua/lsp/yaml.lua
@@ -0,0 +1,1 @@
+require('lspconfig').yamlls.setup{on_attach=require('completion').on_attach}