From 7b784f17e53757eda51b84d87d60bad68e53dc78 Mon Sep 17 00:00:00 2001 From: bretello Date: Wed, 29 Apr 2020 20:33:14 +0200 Subject: [PATCH] vim: cleanup --- my_configs.vim | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/my_configs.vim b/my_configs.vim index 8c7db83..159da14 100644 --- a/my_configs.vim +++ b/my_configs.vim @@ -1,11 +1,5 @@ -python3 from powerline.vim import setup as powerline_setup -python3 powerline_setup() -python3 del powerline_setup - -let g:Powerline_symbols = 'fancy' - colorscheme twilight256 -" colorscheme solarized +" colorscheme solarized "fallback if twilight is not available set mouse=a relativenumber number foldmethod=indent nofoldenable "without nofoldenable all folds are closed at startup" set ttymouse=xterm2 " fix mouse when used in tmux/byobu https://unix.stackexchange.com/q/50733 @@ -18,8 +12,7 @@ set showtabline=2 laststatus=2 " fix statusline (FIX WHAT???) " ALE configuration let g:ale_fixers_aliases = {'vue': ['vue', 'javascript']} -" let g:ale_fixers = { -" \ '*': ['remove_trailing_lines', 'trim_whitespace'], + let g:ale_fixers = { \ '*': ['remove_trailing_lines', 'trim_whitespace'], \ 'bash': ['shfmt'], @@ -36,12 +29,12 @@ let g:ale_python_bandit_options = "-c banditrc" let g:ale_linter_aliases = {'vue': ['vue', 'javascript']} let g:ale_linters = { - \ 'python': ['pyls', 'pylint', 'mypy', 'bandit'], \ 'bash': ['bashlint', "shellcheck"], - \ 'go': ['golint'], + \ 'go': ['golangci-lint'], + \ 'python': ['pyls', 'pylint', 'mypy', 'bandit'], \ 'rust': ['rustc'], \ 'yaml': ['yamllint'], - \ 'javascript': ["yarn lint", "eslint", "vls"], + \ 'javascript': ["yarn lint", "eslint", "vls"] \} let g:ale_lint_on_insert_leave = 1 @@ -167,5 +160,3 @@ nmap A :ALEGoToDefinition nmap n :ALEFindReferences nmap r :ALERename - -set rtp+=/usr/local/opt/fzf