diff options
author | Guangxiong Lin <[email protected]> | 2022-10-31 19:38:48 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-10-31 19:38:48 +0800 |
commit | 8cf9424b14571ad3a451e09dfa0c645d1c00cfca (patch) | |
tree | 7cb1c781e72f7e6bf3bc212690fdca1b1135f468 | |
parent | e3ac686d4f5d930a347d618e20c07fac4e37400e (diff) | |
download | dotfiles-8cf9424b14571ad3a451e09dfa0c645d1c00cfca.tar.gz dotfiles-8cf9424b14571ad3a451e09dfa0c645d1c00cfca.tar.bz2 dotfiles-8cf9424b14571ad3a451e09dfa0c645d1c00cfca.zip |
Add new lsp - zk
-rw-r--r-- | .vim/after/plugin/lsp.vim | 9 |
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 |