From 8e9362203bbac9dd6077283c73a4157cf1025329 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Mon, 20 Nov 2023 08:56:05 +0800 Subject: Update config --- .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 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({ -- cgit v1.2.3