vimrc: disable proc-macro support

This commit is contained in:
Rob Watson 2020-12-30 16:50:33 +01:00
parent 6eaf406674
commit 49a34a29c6
1 changed files with 3 additions and 3 deletions

6
vimrc
View File

@ -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': []
\ } \ }