Compare commits

...

3 Commits

Author SHA1 Message Date
bretello 3f89412fcc
vim: ALE: allow right click for refactors/code actions 2023-01-19 15:07:17 +01:00
bretello 8d561fea1f
vim: add <leader>D :AleToggle 2023-01-17 13:57:14 +01:00
bretello b95fac5c72
vim: add config options for ALE's virtualtext 2023-01-17 13:56:47 +01:00
3 changed files with 5 additions and 1 deletions

View File

@ -24,7 +24,7 @@ let g:ale_fixers = {
\ "vue": ["prettier", "eslint"]
\}
let g:ale_fixers_aliases = {'vue': ['vue', 'javascript']}
let g:ale_popup_menu_enabled =1
let g:ale_python_bandit_options = "-c banditrc"
let g:ale_python_pylint_options = "-j0 --disable=W0511"
let g:ale_python_mypy_options = "--ignore-missing-imports"
@ -71,6 +71,8 @@ let g:ale_sign_warning = ">>"
let g:ale_sign_info = "--"
"let g:ale_sign_style_error =
"let g:ale_sign_style_warning =
highlight link ALEVirtualTextError ALEError
highlight link ALEVirtualTextWarning ALEWarning
let g:ale_completion_symbols = {
\ 'text': '',

View File

@ -91,6 +91,7 @@ nmap <leader>h :ALEHover<CR>
nmap <leader>r :ALERename<CR>
nmap <leader>` :ALELint<CR>
nmap <leader>F :ALEFix<CR>
nmap <leader>D :ALEToggle<CR>
map <leader>nn :NERDTreeToggle<CR>

View File

@ -26,6 +26,7 @@ colorscheme gruvbox
" General stuff
set nowrap
set mouse=a
set mousemodel=popup_setpos " allow for ALE code actions
set relativenumber number
set foldlevelstart=3 foldmethod=indent nofoldenable "without foldenable all folds are open at startup"
set ttymouse=xterm2 " fix mouse when used in tmux/byobu https://unix.stackexchange.com/q/50733