diff options
author | Santo Cariotti <santo@dcariotti.me> | 2021-05-14 14:20:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-14 14:20:50 +0200 |
commit | f64326101fd8a72768a8d09ebf9bbd8e96c78ca1 (patch) | |
tree | adb7a91822c8a83c343e9209da9ad7ea6071575f | |
parent | 3d2dedb09bba703635ac9a3fa97f2117157c6add (diff) |
Update ale
-rwxr-xr-x | vim/.vimrc | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -1,5 +1,6 @@ autocmd! bufwritepost .vimrc source % +let g:ale_disable_lsp = 1 set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() Plugin 'VundleVim/Vundle.vim' @@ -82,7 +83,19 @@ let g:ale_sign_info = 'ðŸ’' let g:ale_echo_msg_error_str = 'E' let g:ale_echo_msg_warning_str = 'W' let g:ale_echo_msg_format = '[%severity%] [%linter%] %s' - +let g:ale_open_list = 1 +let g:ale_keep_list_window_open = 0 +let g:ale_list_window_size = 3 + +let b:ale_linters = ['flake8', 'pylint'] +let b:ale_fixers = { +\ 'python': ['black', 'isort'], +\ 'javascript': ['prettier'], +\ 'typescript': ['prettier'], +\ 'sass': ['prettier'], +\ 'vue': ['prettier'], +\ 'html': ['prettier'], +\} let g:airline_theme='onedark' let g:airline_powerline_fonts = 1 |