aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/lspconfig.vim
diff options
context:
space:
mode:
authorAndrej Benz <hello@benz.dev>2020-12-11 09:26:34 +0100
committerGitHub <noreply@github.com>2020-12-11 09:26:34 +0100
commitb7612bafe4e06972a15075e1dbc5e7c3f926ea91 (patch)
tree48d95e3c9e2c5dccf478f5fe89f624829f273094 /plugin/lspconfig.vim
parentchanged filepath (diff)
parentMerge pull request #438 from HiPhish/kotlin (diff)
downloadnvim-lspconfig-b7612bafe4e06972a15075e1dbc5e7c3f926ea91.tar
nvim-lspconfig-b7612bafe4e06972a15075e1dbc5e7c3f926ea91.tar.gz
nvim-lspconfig-b7612bafe4e06972a15075e1dbc5e7c3f926ea91.tar.bz2
nvim-lspconfig-b7612bafe4e06972a15075e1dbc5e7c3f926ea91.tar.lz
nvim-lspconfig-b7612bafe4e06972a15075e1dbc5e7c3f926ea91.tar.xz
nvim-lspconfig-b7612bafe4e06972a15075e1dbc5e7c3f926ea91.tar.zst
nvim-lspconfig-b7612bafe4e06972a15075e1dbc5e7c3f926ea91.zip
Merge branch 'master' into master
Diffstat (limited to 'plugin/lspconfig.vim')
-rw-r--r--plugin/lspconfig.vim14
1 files changed, 14 insertions, 0 deletions
diff --git a/plugin/lspconfig.vim b/plugin/lspconfig.vim
new file mode 100644
index 00000000..bcefbc39
--- /dev/null
+++ b/plugin/lspconfig.vim
@@ -0,0 +1,14 @@
+if exists('g:lspconfig')
+ finish
+endif
+let g:lspconfig = 1
+
+lua << EOF
+lsp_complete_installable_servers = function()
+ return table.concat(require'lspconfig'.available_servers(), '\n')
+end
+lsp_complete_servers = function()
+ return table.concat(require'lspconfig'.installable_servers(), '\n')
+end
+require'lspconfig'._root._setup()
+EOF