aboutsummaryrefslogtreecommitdiff
path: root/lsc-local.vim
blob: 3b614ce5cb6ed529e2fe285be9a4ea66275bf73e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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