From 9ad923900317a45d216e62626c6ef32672771ee6 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Fri, 3 Dec 2021 07:57:20 +0000 Subject: Using nvim-metals --- lsc.vim | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 lsc.vim (limited to 'lsc.vim') diff --git a/lsc.vim b/lsc.vim new file mode 100644 index 0000000..9b5d9c7 --- /dev/null +++ b/lsc.vim @@ -0,0 +1,21 @@ +" vim-lsc configuation +" +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 + \ } + \ } + \ } + \ }, + \ 'haskell' : 'haskell-language-server-wrapper --lsp' + \ } + +autocmd BufNewFile,BufRead *.sc set filetype=scala + + -- cgit v1.2.3