From d5689f8aa9b1c61dac77b9b8c881ef284a7c64b0 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Mon, 6 Sep 2021 07:27:51 +0100 Subject: My local conf re: vim-lsc --- lsc-local.vim | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 lsc-local.vim (limited to 'lsc-local.vim') diff --git a/lsc-local.vim b/lsc-local.vim new file mode 100644 index 0000000..3b614ce --- /dev/null +++ b/lsc-local.vim @@ -0,0 +1,22 @@ +" +" Exampke of local configuration +" +let g:lsc_server_commands = { + \ 'python': { + \ 'command': 'pyls', + \ 'message_hooks': { + \ 'initialize': { + \ 'initializationOptions': { + \ "pyls.plugins.pydocstyle.enabled": 1, + \ "pyls.plugins.epyls_mypy.enabled": 1, + \ "pyls.plugins.epyls_mypy.live_mode": 0 + \ } + \ } + \ } + \ }, + \ 'scala' : 'metals-vim', + \ 'haskell' : 'haskell-language-server-wrapper --lsp' + \ } + +" for mill build.sc +autocmd BufNewFile,BufRead *.sc set filetype=scala -- cgit v1.2.3