all repos — dotfiles @ 4e7c63e8f8a18a3a48448ba85199895edd01fa06

my *nix dotfiles

nvim: Setup lspconfig
Anirudh Oppiliappan x@icyphox.sh
Wed, 10 Feb 2021 11:26:53 +0530
commit

4e7c63e8f8a18a3a48448ba85199895edd01fa06

parent

09ca729a620f31a368f27b242c459a535989af9c

3 files changed, 4 insertions(+), 0 deletions(-)

jump to
A config/nvim/ftplugin/yaml.vim

@@ -0,0 +1,1 @@

+setlocal ts=2 sts=2 sw=2 expandtab
M config/nvim/init.luaconfig/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}