summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2021-05-14 14:20:50 +0200
committerGitHub <noreply@github.com>2021-05-14 14:20:50 +0200
commitf64326101fd8a72768a8d09ebf9bbd8e96c78ca1 (patch)
treeadb7a91822c8a83c343e9209da9ad7ea6071575f /vim
parent3d2dedb09bba703635ac9a3fa97f2117157c6add (diff)
Update ale
Diffstat (limited to 'vim')
-rwxr-xr-xvim/.vimrc15
1 files changed, 14 insertions, 1 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 7f08248..fd80910 100755
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -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