1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-12-22 23:31:32 +01:00

vim: cleanup

This commit is contained in:
bretello 2020-04-29 20:33:14 +02:00
parent 102d2477d5
commit 7b784f17e5

View File

@ -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 <leader>A :ALEGoToDefinition<CR>
nmap <leader>n :ALEFindReferences<CR>
nmap <leader>r :ALERename<CR>
set rtp+=/usr/local/opt/fzf