From e9a23a9c161e1db5976a8dd71dbc8a1613cb138d Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Fri, 24 Nov 2023 16:23:17 +0000 Subject: [PATCH] Use ale linter --- states/vim/files/vimrc | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/states/vim/files/vimrc b/states/vim/files/vimrc index a7cc544..899f85f 100644 --- a/states/vim/files/vimrc +++ b/states/vim/files/vimrc @@ -11,7 +11,6 @@ call vundle#begin() " call vundle#begin('~/some/path/here') Plugin 'gmarik/Vundle.vim' Plugin 'Yggdroot/indentLine' -Plugin 'scrooloose/syntastic' Plugin 'docunext/closetag.vim' Plugin 'vim-airline/vim-airline' Plugin 'vim-airline/vim-airline-themes' @@ -35,6 +34,7 @@ Plugin 'Chiel92/vim-autoformat' Plugin 'pangloss/vim-javascript' Plugin 'itspriddle/vim-shellcheck' Plugin 'vimwiki/vimwiki' +Plugin 'dense-analysis/ale' " All of your Plugins must be added before the following line call vundle#end() " required @@ -56,29 +56,11 @@ set tabstop=4 set relativenumber set number +let g:ale_linters = {'python': ['flake8']} + let g:html_indent_inctags = "html,body,head,tbody" let g:indentLine_color_term = 5 -" syntastic -set statusline+=%#warningmsg# -set statusline+=%{SyntasticStatuslineFlag()} -set statusline+=%* - -let g:syntastic_always_populate_loc_list = 1 -let g:syntastic_auto_loc_list = 2 -let g:syntastic_check_on_open = 1 -let g:syntastic_check_on_wq = 1 -let g:syntastic_javascript_checkers = ['eslint'] -let g:syntastic_python_python_exec = '/usr/bin/python3' -let g:syntastic_python_checkers = ['python', 'flake8'] -let g:syntastic_python_flake8_args='--config=/home/max/.config/flake8' -let g:syntastic_sh_checkers = ['shellcheck'] -let g:syntastic_aggregate_errors = 1 - -" Syntastic C++11 -let g:syntastic_cpp_compiler = 'g++' -let g:syntastic_cpp_compiler_options = '-std=c++14' - set laststatus=2 " Set this to 1 if powerline fonts are installed. let g:airline_powerline_fonts = 1 -- 2.46.2