vimrc: disable proc-macro support
This commit is contained in:
parent
6eaf406674
commit
49a34a29c6
6
vimrc
6
vimrc
|
@ -137,8 +137,8 @@ let g:ale_set_balloons = 1
|
||||||
let g:ale_rust_analyzer_config = {
|
let g:ale_rust_analyzer_config = {
|
||||||
\ 'diagnostics': { 'disabled': ['unresolved-import'] },
|
\ 'diagnostics': { 'disabled': ['unresolved-import'] },
|
||||||
\ 'cargo': { 'loadOutDirsFromCheck': v:true },
|
\ 'cargo': { 'loadOutDirsFromCheck': v:true },
|
||||||
\ 'procMacro': { 'enable': v:true },
|
\ 'procMacro': { 'enable': v:false },
|
||||||
\ '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'
|
||||||
|
@ -155,7 +155,7 @@ let g:ale_linters = {
|
||||||
let g:ale_fixers = {
|
let g:ale_fixers = {
|
||||||
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
|
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
|
||||||
\ 'javascript': ['prettier'],
|
\ 'javascript': ['prettier'],
|
||||||
\ 'rust': ['rustfmt'],
|
\ 'rust': [],
|
||||||
\ 'go': []
|
\ 'go': []
|
||||||
\ }
|
\ }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue