diff --git a/.gitignore b/.gitignore index 47ddb913..08a9115f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,6 @@ /*.sh /cmd/lic/lic /lic +/vim-lsp.log profile.txt diff --git a/kuqi.vimrc b/kuqi.vimrc new file mode 100644 index 00000000..6b63564d --- /dev/null +++ b/kuqi.vimrc @@ -0,0 +1,9 @@ +" vim-lsp configuration to debugging kuqi. Load this file in your vimrc if you want use. +call lsp#register_server({ + \ 'name': 'kuqi', + \ 'cmd': { server_info->['kuqi'] }, + \ 'allowlist': ['cotowali'], + \ 'languageId': { server_info ->'kuqi' }, + \ }) +let g:lsp_log_file = expand('vim-lsp.log') +let g:lsp_show_message_log_level = 'log'