mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-11-17 17:26:27 +00:00
Update go fixers to use ale
This commit is contained in:
parent
1dbde430c2
commit
eca03d227c
@ -1,2 +1,9 @@
|
||||
let g:argwrap_tail_comma = 1
|
||||
let g:ale_fix_on_save = 1
|
||||
" Disable some vim-go settings when Ale is installed
|
||||
if exists('g:ale_fixers')
|
||||
let g:go_def_mapping_enabled = 0
|
||||
let g:go_version_warning = 0
|
||||
let g:go_fmt_autosave = 0
|
||||
let g:go_imports_autosave = 0
|
||||
end
|
||||
|
@ -108,19 +108,14 @@ end
|
||||
" Filetype configuration
|
||||
|
||||
" Languages with custom configuration
|
||||
" Custom go
|
||||
let g:go_def_mapping_enabled = 0
|
||||
let g:go_version_warning = 0
|
||||
let g:go_fmt_autosave = 0
|
||||
let g:go_imports_autosave = 0
|
||||
" Custom Go
|
||||
Plug 'fatih/vim-go', { 'do': ':GoInstallBinaries' }
|
||||
" Custom rust
|
||||
let g:rustfmt_autosave = 1
|
||||
Plug 'rust-lang/rust.vim'
|
||||
" Lots of custom python
|
||||
call s:smart_source_rc('plugins/python')
|
||||
|
||||
" Disable polyglog for languages with more robust plugins
|
||||
" Disable polyglot for languages with more robust plugins
|
||||
let g:polyglot_disabled = ['go', 'rust']
|
||||
Plug 'sheerun/vim-polyglot'
|
||||
" Custom rule for ansible playbook detection
|
||||
|
Loading…
Reference in New Issue
Block a user