diff --git a/init.vim b/init.vim index 083a120..ba21a4f 100644 --- a/init.vim +++ b/init.vim @@ -27,7 +27,6 @@ Plug 'tpope/vim-fugitive' " Gi Plug 'Xuyuanp/nerdtree-git-plugin' " To see new or modified files in the nerdtree window Plug 'https://github.com/editorconfig/editorconfig-vim' " Support of '.editorconfig' files Plug 'shmargum/vim-sass-colors' " Highlight sass/scss/less/css colors and color variables -Plug 'vim-syntastic/syntastic' " Syntax checking (linting) " Auto completion Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'pappasam/coc-jedi', { 'do': 'yarn install --frozen-lockfile && yarn build' } "Python, using jedi @@ -118,6 +117,8 @@ au FileType json set shiftwidth=2 autocmd FileType html set tabstop=2 autocmd FileType html set softtabstop=2 autocmd FileType html set shiftwidth=2 +au FileType xml setlocal foldmethod=indent +autocmd FileType xml set foldlevel=2 " XML let g:xml_syntax_folding=3 @@ -154,24 +155,6 @@ nnoremap :call pandoc#formatting#UseHardWraps() nnoremap :call pandoc#formatting#ToggleAutoformat() let g:mkdp_filetypes = ['markdown', 'pandoc', 'pandoc.markdown'] -" ######################################### -" ######################################### -" Linters (syntastic configuration) -" -" SCSS linter -let g:syntastic_scss_checkers = ['scss_lint'] - -" Python linters. I define this list mainly to avoid pylint which I can't -" manage to use correctly and is required on my main OS. -let g:syntastic_python_checkers=['flake8', 'pep8', 'pycodestyle', 'pyflakes'] - -" Copy pasting of the basic configuration recommended by syntastic -" https://github.com/vim-syntastic/syntastic#settings -" but without the statusline settings to improve comptability with airline. -let g:syntastic_always_populate_loc_list = 1 -let g:syntastic_auto_loc_list = 1 -let g:syntastic_check_on_open = 1 - " ######################################### " ######################################### " autocompletion, mainly coc configuration