mirror of
https://github.com/lloeki/vimfiles.git
synced 2025-12-06 05:24:39 +01:00
Add black fixer + fix on save (disabled)
This commit is contained in:
parent
8b14c0d9cc
commit
192da2c047
1 changed files with 2 additions and 1 deletions
3
vimrc
3
vimrc
|
|
@ -68,7 +68,8 @@ let g:ale_virtualtext_cursor = 0
|
||||||
let g:ale_ruby_rubocop_executable = 'bundle'
|
let g:ale_ruby_rubocop_executable = 'bundle'
|
||||||
let g:go_fmt_command = "goimports"
|
let g:go_fmt_command = "goimports"
|
||||||
"let g:ale_linters = {'ruby': ['standardrb']}
|
"let g:ale_linters = {'ruby': ['standardrb']}
|
||||||
"let g:ale_fixers = {'ruby': ['standardrb']}
|
"let g:ale_fixers = { 'python': ['black'], 'ruby': ['standardrb'] }
|
||||||
|
"let g:ale_fix_on_save = 1
|
||||||
|
|
||||||
let g:ale_completion_enabled = 1
|
let g:ale_completion_enabled = 1
|
||||||
set omnifunc=ale#completion#OmniFunc
|
set omnifunc=ale#completion#OmniFunc
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue