aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-10-31 19:38:48 +0800
committerGuangxiong Lin <[email protected]>2022-10-31 19:38:48 +0800
commit8cf9424b14571ad3a451e09dfa0c645d1c00cfca (patch)
tree7cb1c781e72f7e6bf3bc212690fdca1b1135f468
parente3ac686d4f5d930a347d618e20c07fac4e37400e (diff)
downloaddotfiles-8cf9424b14571ad3a451e09dfa0c645d1c00cfca.tar.gz
dotfiles-8cf9424b14571ad3a451e09dfa0c645d1c00cfca.tar.bz2
dotfiles-8cf9424b14571ad3a451e09dfa0c645d1c00cfca.zip
Add new lsp - zk
-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