vim: Remove hardcoded executable paths

This commit is contained in:
Simon Bruder 2020-08-20 10:24:41 +02:00
parent 6a406cb9e4
commit 836a8352f4
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -107,7 +107,7 @@ Plug 'autozimu/LanguageClient-neovim', {
\ } \ }
let g:LanguageClient_serverCommands = { let g:LanguageClient_serverCommands = {
\ 'rust': ['~/.cargo/bin/rustup', 'run', 'stable', 'rls'], \ 'rust': ['rustup', 'run', 'stable', 'rls'],
\ 'go': ['gopls'], \ 'go': ['gopls'],
\ 'python': ['pyls'], \ 'python': ['pyls'],
\ 'typescript': ['docker', 'run', '--rm', '--init', '-i', '-v', '$HOME:$HOME:ro', '--network=none', 'r.sbruder.de/javascript-typescript-langserver'], \ 'typescript': ['docker', 'run', '--rm', '--init', '-i', '-v', '$HOME:$HOME:ro', '--network=none', 'r.sbruder.de/javascript-typescript-langserver'],
@ -143,9 +143,6 @@ Plug 'lervag/vimtex'
let g:tex_flavor='latex' let g:tex_flavor='latex'
let g:vimtex_view_method='zathura' let g:vimtex_view_method='zathura'
let g:tex_conceal='abdmg' let g:tex_conceal='abdmg'
" nvr is (currently) not in debian repos and therefore installed with pip (in
" local directory that is not in zathuras PATH)
let g:vimtex_compiler_progname='$HOME/.local/bin/nvr'
let g:vimtex_syntax_autoload_packages = [ let g:vimtex_syntax_autoload_packages = [
\'amsmath', \'amsmath',
\'luacode', \'luacode',