diff options
author | magenbluten <magenbluten@codemonkey.cc> | 2019-05-21 19:52:44 +0200 |
---|---|---|
committer | magenbluten <magenbluten@codemonkey.cc> | 2019-05-21 19:52:44 +0200 |
commit | 09552a6945bd4207c5f44b7aebd7142e7e766d83 (patch) | |
tree | a53914e3f1e286053fc64ad1d87075d2210dae25 /lass/2configs | |
parent | c74d86cf6a1299ba0a11fcfb2341a8632b147420 (diff) | |
parent | 73997358e457b51c72d954546451008560a4adfc (diff) |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'lass/2configs')
-rw-r--r-- | lass/2configs/vim.nix | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lass/2configs/vim.nix b/lass/2configs/vim.nix index 4f7bd4437..f55886e2e 100644 --- a/lass/2configs/vim.nix +++ b/lass/2configs/vim.nix @@ -11,6 +11,9 @@ let (hiPrio (pkgs.python3.withPackages (ps: [ ps.python-language-server ps.pyls-isort + ps.pyflakes + ps.flake8 + ps.yapf ]))) ]; @@ -72,10 +75,6 @@ let au BufRead,BufNewFile /dev/shm/* set nobackup nowritebackup noswapfile - "Syntastic config - "let g:syntastic_python_checkers=['flake8'] - "let g:syntastic_python_flake8_post_args='--ignore=E501' - nnoremap <F5> :call LanguageClient_contextMenu()<CR> set hidden let g:LanguageClient_serverCommands = { @@ -83,7 +82,10 @@ let \ 'go': ['~/go/bin/go-langserver'] \ } - let g:LanguageClient_diagnosticsDisplay = { 2: { "signText": "W" } } + let g:LanguageClient_diagnosticsDisplay = { + \ 1: { "signText": "E" }, + \ 2: { "signText": "W" } + \ } nmap <esc>q :buffer nmap <M-q> :buffer @@ -126,7 +128,6 @@ let extra-runtimepath = concatMapStringsSep "," (pkg: "${pkg.rtp}") [ pkgs.vimPlugins.ack-vim pkgs.vimPlugins.Gundo - #pkgs.vimPlugins.Syntastic pkgs.vimPlugins.undotree pkgs.vimPlugins.vim-go pkgs.vimPlugins.fzf-vim |