aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/nvim_lsp.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/nvim_lsp.vim')
-rw-r--r--plugin/nvim_lsp.vim11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugin/nvim_lsp.vim b/plugin/nvim_lsp.vim
new file mode 100644
index 00000000..bffab637
--- /dev/null
+++ b/plugin/nvim_lsp.vim
@@ -0,0 +1,11 @@
+function! s:complete_server_names(A,L,P) abort
+ return luaeval("table.concat(require'nvim_lsp'.available_servers(), '\\n')")
+endfunction
+
+function! s:complete_installable_server_names(A,L,P) abort
+ return luaeval("table.concat(require'nvim_lsp'.installable_servers(), '\\n')")
+endfunction
+
+lua << EOF
+require'nvim_lsp'._root._setup()
+EOF