diff --git a/vim/after/ftplugin/go.vim b/vim/after/ftplugin/go.vim index a779e79..3229568 100644 --- a/vim/after/ftplugin/go.vim +++ b/vim/after/ftplugin/go.vim @@ -30,7 +30,7 @@ let g:go_gopls_analyses = { \ 'composites': v:false, \ } let g:go_fmt_options = { - \ 'goimports': '-local github.com/sensiblecode.com/cantabular', + \ 'goimports': '-local github.com/sensiblecodeio/cantabular', \ } autocmd BufNewFile,BufRead *.gohtml set syntax=gohtmltmpl diff --git a/vimrc b/vimrc index 050ec13..32dac69 100644 --- a/vimrc +++ b/vimrc @@ -133,6 +133,9 @@ map 8 :call RequestGrep() packadd! deoplete.nvim let g:deoplete#enable_at_startup = 1 call deoplete#custom#option('num_processes', 6) +call deoplete#custom#option('max_list', 20) +call deoplete#custom#option('auto_complete_delay', 10) +call deoplete#custom#option('auto_refresh_delay', 10) " https://github.com/Shougo/deoplete.nvim/issues/965#issuecomment-482925193 " Seems to be causing autocomplete issues so removing for now. " call deoplete#custom#option('omni_patterns', { @@ -179,12 +182,11 @@ function SymbolSearch() endif endfunction map ss :call SymbolSearch() -nmap af :ALEFirst -nmap al :ALELast -nmap an :ALENextWrap -nmap ap :ALEPreviousWrap -nmap aN :ALENext -error -nmap aP :ALEPrevious -error +nmap [L (ale_first) +nmap ]L (ale_previous_wrap_error) +nmap ]l (ale_next_wrap_error) + nmap ad :ALEDetail map g :ALEGoToDefinition map gt :ALEGoToTypeDefinition @@ -204,7 +206,7 @@ let g:ale_lint_on_enter = 1 let g:ale_lint_on_insert_leave = 1 let g:ale_lint_on_save = 1 let g:ale_echo_cursor = 1 -let g:ale_lint_delay = 50 +let g:ale_lint_delay = 100 let g:ale_set_balloons = 1 " NOTE: Needs https://github.com/dense-analysis/ale/issues/3350 let g:ale_rust_analyzer_config = {