Plugin 'altercation/vim-colors-solarized'
Plugin 'ctrlpvim/ctrlp.vim'
Plugin 'Chiel92/vim-autoformat'
+Plugin 'pangloss/vim-javascript'
+Plugin 'itspriddle/vim-shellcheck'
+Plugin 'vimwiki/vimwiki'
+Plugin 'psf/black'
" All of your Plugins must be added before the following line
call vundle#end() " required
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:python_highlight_class_vars = 1
let g:python_highlight_operators = 1
-" Python indent
-autocmd FileType python setlocal foldmethod=indent foldnestmax=2
-
" Paren highlighting
hi MatchParen cterm=underline ctermbg=none ctermfg=none
endif
" Auto formatters
-let g:formatdef_autopep8 = "'autopep8 -a - --range '.a:firstline.' '.a:lastline"
+let g:formatdef_autopep8 = "'autopep8 --aggressive --aggressive - --range '.a:firstline.' '.a:lastline"
let g:formatters_python = ['autopep8']
noremap <F3> :Autoformat<CR>
+
+" Vimwiki
+let g:vimwiki_list = [{'path': '~/vimwiki/', 'syntax': 'markdown', 'ext': '.md'}]
+let g:vimwiki_global_ext = 0
+
+let g:indentLine_fileTypeExclude = ['tex', 'json', 'markdown']
+
+let g:black_use_virtualenv = 0