1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-21 19:11:30 +01:00

vim: ALE: allow right click for refactors/code actions

This commit is contained in:
bretello 2023-01-19 15:07:17 +01:00
parent 8d561fea1f
commit 3f89412fcc
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
2 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,7 @@ let g:ale_fixers = {
\ "vue": ["prettier", "eslint"] \ "vue": ["prettier", "eslint"]
\} \}
let g:ale_fixers_aliases = {'vue': ['vue', 'javascript']} 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_bandit_options = "-c banditrc"
let g:ale_python_pylint_options = "-j0 --disable=W0511" let g:ale_python_pylint_options = "-j0 --disable=W0511"
let g:ale_python_mypy_options = "--ignore-missing-imports" let g:ale_python_mypy_options = "--ignore-missing-imports"

View File

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