diff --git a/.bash_aliases b/.bash_aliases index daf83a1..6854602 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -15,7 +15,6 @@ alias sort='sort -n' alias scrcpy='scrcpy --disable-screensaver' alias ssh='kitten ssh' alias sudo='doas' -alias sudoedit='doas rvim' #alias trayer='trayer -l --edge top --align right --SetDockType true --SetPartialStrut true --expand true --widthtype request --transparent true --tint 0x232634 --height 18 --monitor 1' alias trayer='trayer -l --edge top --align right --SetDockType true --SetPartialStrut true --expand true --widthtype request --tint 0x232634 --height 18 --monitor 1' alias trc='trash-empty' diff --git a/.bashrc b/.bashrc index 0ea647c..f6affc4 100644 --- a/.bashrc +++ b/.bashrc @@ -19,7 +19,7 @@ if [ ! -d ~/.cache/mutt ]; then fi export EDITOR=vim -export SUDO_EDITOR=rvim +export SUDO_EDITOR=vim export PATH="/home/fuxino/.local/bin:$PATH" diff --git a/.vimrc b/.vimrc index 2969fd3..e7c1ca5 100644 --- a/.vimrc +++ b/.vimrc @@ -33,10 +33,12 @@ Plug 'ghifarit53/tokyonight-vim' call plug#end() -let g:ale_linters={'python': ['pylint'], 'c': ['cc'], 'sh': ['shell'], 'tex': ['lacheck'], 'haskell': ['stack_ghc', 'hlint']} -let g:ale_linters_explicit=1 -let g:ale_enabled=1 -let g:ale_python_pylint_options='--max-line-length=160 --disable=missing-docstring --disable=invalid-name' +let g:ale_linters = {'python': ['ruff', 'mypy'], 'c': ['cc'], 'sh': ['shellcheck'], 'tex': ['lacheck'], 'haskell': ['stack_ghc', 'hlint']} +let g:ale_linters_explicit = 1 +let g:ale_enabled = 1 + +" sudoedit's copies in /var/tmp aren't executable +let g:ale_pattern_options = {'^/var/tmp/': {'ale_python_ruff_options': '--extend-ignore EXE001'}} let g:ale_fixers = { \ 'haskell': ['ormolu', 'remove_trailing_lines', 'trim_whitespace'], @@ -45,8 +47,8 @@ let g:ale_fixers = { \} let g:ale_haskell_ormolu_options = '--no-cabal --no-dot-ormolu' -let g:rainbow_active=1 -let g:tex_flavor='latex' +let g:rainbow_active = 1 +let g:tex_flavor = 'latex' " }}}