summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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