vim: Run lsp docker containers with --rm
This commit is contained in:
parent
16be4f6c24
commit
f23459ae8f
|
@ -99,8 +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'],
|
||||
\ 'typescript': ['docker', 'run', '--rm', '--init', '-i', '-v', '$HOME:$HOME:ro', 'r.sbruder.de/javascript-typescript-langserver'],
|
||||
\ 'javascript': ['docker', 'run', '--rm', '--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