aboutsummaryrefslogtreecommitdiff
path: root/.vim/after/plugin/lsp.vim
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2023-11-20 08:56:05 +0800
committerGuangxiong Lin <[email protected]>2023-11-20 08:56:05 +0800
commit8e9362203bbac9dd6077283c73a4157cf1025329 (patch)
treea7b22ea13ecd904178eedec4ecea45c048dc0090 /.vim/after/plugin/lsp.vim
parent1010c88e30999c541e4488fb5c0aad7f01147f68 (diff)
downloaddotfiles-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.vim9
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({