aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vim/after/plugin/lsp.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/.vim/after/plugin/lsp.vim b/.vim/after/plugin/lsp.vim
index 3e5267b..5020427 100644
--- a/.vim/after/plugin/lsp.vim
+++ b/.vim/after/plugin/lsp.vim
@@ -53,6 +53,15 @@ if executable('godot')
\ })
endif
+" https://github.com/mickael-menu/zk
+if executable('zk')
+ au User lsp_setup call lsp#register_server({
+ \ 'name': 'zk',
+ \ 'cmd': {server_info->['zk', 'lsp']},
+ \ 'allowlist': ['markdown'],
+ \ })
+endif
+
function! s:on_lsp_buffer_enabled() abort
setlocal omnifunc=lsp#complete
setlocal nocscopetag