...
 
Commits (3)
setlocal colorcolumn=80,81,82
setlocal equalprg=autopep8\ -
setlocal colorcolumn=89,90,91
if executable('black')
setlocal equalprg=black\ -\ 2>/dev/null
else
setlocal equalprg=autopep8\ -
endif
......@@ -84,3 +84,5 @@ endif
" Minpac commands {{{2
command! PackUpdate packadd minpac | source $MYVIMRC | call minpac#update()
command! PackClean packadd minpac | source $MYVIMRC | call minpac#clean()
" vim: set foldmethod=marker:
......@@ -17,7 +17,7 @@ let g:ale_linters = {
\ 'rust': ['rls', 'cargo'],
\ }
let g:ale_fixers = {
\ 'python': ['autopep8', 'isort'],
\ 'python': ['autopep8', 'isort', 'black'],
\ 'cpp': ['clang-format'],
\ 'c': ['clang-format'],
\ 'rust': ['rustfmt'],
......
......@@ -22,7 +22,7 @@ let g:deoplete#ignore_sources._ = ['buffer']
call deoplete#custom#source('clang_complete', 'rank', 1000)
call deoplete#custom#source('jedi', 'rank', 1000)
call deoplete#custom#source('ultisnips', 'rank', 120)
call deoplete#custom#source('ultisnips', 'rank', 1020)
" Clang_Complete + Deoplete compat as per faq
let g:clang_complete_auto = 0
......
......@@ -7,6 +7,6 @@ if has('python') || has('python3')
let g:UltiSnipsSnippetsDirectories=['UltiSnips', 'snippets', 'myUltiSnips']
let g:UltiSnipsEditSplit='vertical'
let g:UltiSnipsExpandTrigger=',e'
let g:UltiSnipsJumpForwardTrigger='<c-n>'
let g:UltiSnipsJumpBackwardTrigger='<c-p>'
let g:UltiSnipsJumpForwardTrigger=',n'
let g:UltiSnipsJumpBackwardTrigger=',p'
endif