From f64326101fd8a72768a8d09ebf9bbd8e96c78ca1 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Fri, 14 May 2021 14:20:50 +0200 Subject: Update ale --- vim/.vimrc | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-18-g5258