aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2021-09-06 07:27:51 +0100
committerJuan J. Martinez <jjm@usebox.net>2022-05-29 22:57:30 +0100
commitd5689f8aa9b1c61dac77b9b8c881ef284a7c64b0 (patch)
treefa588c4d0bad538ca9a81b626581c35f7f48009c
parent255aeae8866614175f0fc5169a773f622c7ee0b5 (diff)
downloaddotnvim-d5689f8aa9b1c61dac77b9b8c881ef284a7c64b0.tar.gz
dotnvim-d5689f8aa9b1c61dac77b9b8c881ef284a7c64b0.zip
My local conf re: vim-lsc
-rw-r--r--lsc-local.vim22
1 files changed, 22 insertions, 0 deletions
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