vim: Add language servers for js and ts
They run inside of a docker container and have read only access to the home directory.
This commit is contained in:
parent
e75167a514
commit
c2e13f23f1
|
@ -99,6 +99,8 @@ let g:LanguageClient_serverCommands = {
|
|||
\ 'rust': ['~/.cargo/bin/rustup', 'run', 'stable', 'rls'],
|
||||
\ 'go': ['gopls'],
|
||||
\ 'python': ['pyls'],
|
||||
\ 'typescript': ['docker', 'run', '--init', '-i', '-v', '$HOME:$HOME:ro', 'r.sbruder.de/javascript-typescript-langserver'],
|
||||
\ 'javascript': ['docker', 'run', '--init', '-i', '-v', '$HOME:$HOME:ro', 'r.sbruder.de/javascript-typescript-langserver'],
|
||||
\ }
|
||||
|
||||
let g:LanguageClient_loggingFile = '~/.local/share/nvim/LanguageClient.log'
|
||||
|
|
Reference in a new issue