Update vimrc and zshrc
This commit is contained in:
parent
4d7e9a21e3
commit
5702140b6b
18
vimrc
18
vimrc
|
@ -80,7 +80,7 @@ endif
|
|||
" Colour scheme:
|
||||
packadd! gruvbox
|
||||
let g:gruvbox_contrast_dark='medium'
|
||||
let g:gruvbox_contrast_light='medium'
|
||||
let g:gruvbox_contrast_light='soft'
|
||||
let g:gruvbox_improved_strings=1
|
||||
let g:gruvbox_improved_warnings=1
|
||||
let g:gruvbox_vert_split='bg2'
|
||||
|
@ -244,7 +244,7 @@ packadd! echodoc.vim
|
|||
|
||||
" ALE configuration:
|
||||
nmap [L <Plug>(ale_first)
|
||||
nmap ]L <Plug(ale_last)
|
||||
nmap ]L <Plug>(ale_last)
|
||||
nmap [e <Plug>(ale_previous_wrap_error)
|
||||
nmap ]e <Plug>(ale_next_wrap_error)
|
||||
nmap [w <Plug>(ale_previous_wrap)
|
||||
|
@ -281,12 +281,14 @@ let g:ale_rust_analyzer_config = {
|
|||
\ 'checkOnSave': { 'command': 'clippy', 'enable': v:true },
|
||||
\ }
|
||||
let g:ale_go_goimports_options = '-local github.com/sensiblecodeio/cantabular'
|
||||
let g:ale_go_gopls_init_options = {'ui.diagnostic.analyses': {
|
||||
\ 'composites': v:false,
|
||||
\ 'unusedparams': v:true,
|
||||
\ 'unusedresult': v:true,
|
||||
\ 'shadow': v:true,
|
||||
\ }}
|
||||
let g:ale_go_gopls_init_options = {
|
||||
\ 'ui.diagnostic.analyses': {
|
||||
\ 'composites': v:false,
|
||||
\ 'unusedparams': v:true,
|
||||
\ 'unusedresult': v:true,
|
||||
\ 'shadow': v:true,
|
||||
\ },
|
||||
\ 'staticcheck': v:true}
|
||||
" let g:ale_command_wrapper = 'nice -n5'
|
||||
let g:ale_completion_enabled = 0
|
||||
let g:ale_close_preview_on_insert = 1
|
||||
|
|
Loading…
Reference in New Issue