vim updates
This commit is contained in:
parent
a1f6b7d163
commit
3741b10146
|
@ -28,6 +28,9 @@ let g:go_term_enabled = 0
|
||||||
let g:go_term_close_on_exit = 0
|
let g:go_term_close_on_exit = 0
|
||||||
let g:go_gopls_analyses = {
|
let g:go_gopls_analyses = {
|
||||||
\ 'composites': v:false,
|
\ 'composites': v:false,
|
||||||
|
\ 'unusedparams': v:true,
|
||||||
|
\ 'unusedresult': v:true,
|
||||||
|
\ 'shadow': v:true,
|
||||||
\ }
|
\ }
|
||||||
let g:go_fmt_options = {
|
let g:go_fmt_options = {
|
||||||
\ 'goimports': '-local github.com/sensiblecodeio/cantabular',
|
\ 'goimports': '-local github.com/sensiblecodeio/cantabular',
|
||||||
|
|
4
vimrc
4
vimrc
|
@ -220,12 +220,14 @@ let g:ale_rust_analyzer_config = {
|
||||||
\ 'checkOnSave': { 'command': 'clippy', 'enable': v:true },
|
\ 'checkOnSave': { 'command': 'clippy', 'enable': v:true },
|
||||||
\ }
|
\ }
|
||||||
let g:ale_go_goimports_options = '-local github.com/sensiblecodeio/cantabular'
|
let g:ale_go_goimports_options = '-local github.com/sensiblecodeio/cantabular'
|
||||||
let g:ale_command_wrapper = 'nice -n5'
|
" let g:ale_command_wrapper = 'nice -n5'
|
||||||
let g:ale_completion_enabled = 0
|
let g:ale_completion_enabled = 0
|
||||||
let g:ale_close_preview_on_insert = 1
|
let g:ale_close_preview_on_insert = 1
|
||||||
let g:ale_hover_to_preview = 1
|
let g:ale_hover_to_preview = 1
|
||||||
let g:ale_sign_column_always = 1
|
let g:ale_sign_column_always = 1
|
||||||
let g:ale_history_log_output = 1
|
let g:ale_history_log_output = 1
|
||||||
|
" Currently, gopls only uses default gopls analyzers.
|
||||||
|
" https://github.com/dense-analysis/ale/issues/3563
|
||||||
let g:ale_linters = {
|
let g:ale_linters = {
|
||||||
\ 'javascript': ['eslint'],
|
\ 'javascript': ['eslint'],
|
||||||
\ 'go': ['gopls'],
|
\ 'go': ['gopls'],
|
||||||
|
|
Loading…
Reference in New Issue