dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit 93aa4c7617136ece8000f47c6babacc67c991be2 (patch)
parent b0af2eae0e53cb6e86ce7e6f7e8e4bcae387c47c
Author: Alex Karle <alex@alexkarle.com>
Date:   Sun, 23 May 2021 00:15:13 -0400

vim: Add ALE configuration for python/javascript

I didn't think I'd ever want format-on-save.. but it's kinda useful once
you get used to it! (Especially with prettier, which is super hard to
guess what it will do...)

Diffstat:
M.vim/improved.vim | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/.vim/improved.vim b/.vim/improved.vim @@ -56,6 +56,9 @@ let g:git_messenger_always_into_popup = v:true let g:ale_set_loclist = 1 let g:ale_python_flake8_options = '--ignore "E501,E302"' +let g:ale_linters = { 'javascript': ['eslint'], 'python': ['flake8'] } +let g:ale_fixers = {'javascript': ['prettier'], 'python': ['black'] } +let g:ale_fix_on_save = 1 " }}} " COLORSCHEME {{{