aboutsummaryrefslogtreecommitdiff
path: root/lsc.vim
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2021-12-03 07:57:20 +0000
committerJuan J. Martinez <jjm@usebox.net>2022-05-29 22:57:30 +0100
commit9ad923900317a45d216e62626c6ef32672771ee6 (patch)
tree0e0334c2b6cba84f523796ff7be3f018258507b2 /lsc.vim
parent2fcdae15d7d24fd2601f2a008c15cd6cf400172f (diff)
downloaddotnvim-9ad923900317a45d216e62626c6ef32672771ee6.tar.gz
dotnvim-9ad923900317a45d216e62626c6ef32672771ee6.zip
Using nvim-metals
Diffstat (limited to 'lsc.vim')
-rw-r--r--lsc.vim21
1 files changed, 21 insertions, 0 deletions
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
+
+