diff options
author | Guangxiong Lin <[email protected]> | 2023-11-20 08:56:05 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2023-11-20 08:56:05 +0800 |
commit | 8e9362203bbac9dd6077283c73a4157cf1025329 (patch) | |
tree | a7b22ea13ecd904178eedec4ecea45c048dc0090 /.vim/after/plugin/lsp.vim | |
parent | 1010c88e30999c541e4488fb5c0aad7f01147f68 (diff) | |
download | dotfiles-8e9362203bbac9dd6077283c73a4157cf1025329.tar.gz dotfiles-8e9362203bbac9dd6077283c73a4157cf1025329.tar.bz2 dotfiles-8e9362203bbac9dd6077283c73a4157cf1025329.zip |
Update config
Diffstat (limited to '.vim/after/plugin/lsp.vim')
-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 be41ceb..6641005 100644 --- a/.vim/after/plugin/lsp.vim +++ b/.vim/after/plugin/lsp.vim @@ -57,6 +57,15 @@ if executable('godot') \ }) endif +if executable('noteutil') + au User lsp_setup + \ call lsp#register_server({ + \ 'name': 'noteutil', + \ 'cmd': {server_info->['noteutil', 'server', '--lsp']}, + \ 'allowlist': ['markdown'] + \ }) +endif + " https://github.com/mickael-menu/zk " if executable('zk') " au User lsp_setup call lsp#register_server({ |