From 8cf9424b14571ad3a451e09dfa0c645d1c00cfca Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Mon, 31 Oct 2022 19:38:48 +0800 Subject: Add new lsp - zk --- .vim/after/plugin/lsp.vim | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '.vim/after/plugin/lsp.vim') 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 -- cgit v1.2.3