From 8a11ca0f95ddc0a248f9472c891a959964668766 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Sat, 26 Sep 2020 17:49:45 +0100 Subject: [PATCH] VIM: Adds lsp config submodule --- .gitmodules | 3 +++ nvim/.config/nvim/init.vim | 3 +++ nvim/.config/nvim/pack/bundle/opt/nvim-lspconfig | 1 + 3 files changed, 7 insertions(+) create mode 160000 nvim/.config/nvim/pack/bundle/opt/nvim-lspconfig diff --git a/.gitmodules b/.gitmodules index 06faa26e..7d4be3db 100644 --- a/.gitmodules +++ b/.gitmodules @@ -43,3 +43,6 @@ [submodule "nvim/.config/nvim/pack/bundle/opt/vim-repeat"] path = nvim/.config/nvim/pack/bundle/opt/vim-repeat url = https://github.com/tpope/vim-repeat +[submodule "nvim/.config/nvim/pack/bundle/opt/nvim-lspconfig"] + path = nvim/.config/nvim/pack/bundle/opt/nvim-lspconfig + url = https://github.com/neovim/nvim-lspconfig/ diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 7713a0a8..4db907c5 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -10,6 +10,9 @@ if has('packages') packadd! vim-surround packadd! vim-tridactyl packadd! vim-vinegar + if has('nvim') + packadd! nvim-lspconfig + endif endif " Enables filetype detection as well as filetype specific indent rules and diff --git a/nvim/.config/nvim/pack/bundle/opt/nvim-lspconfig b/nvim/.config/nvim/pack/bundle/opt/nvim-lspconfig new file mode 160000 index 00000000..60133c47 --- /dev/null +++ b/nvim/.config/nvim/pack/bundle/opt/nvim-lspconfig @@ -0,0 +1 @@ +Subproject commit 60133c47e0fd82556d7ca092546ebfa8d047466e