vim updates
This commit is contained in:
parent
566a80cb30
commit
b67374e032
|
@ -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
|
||||
|
|
16
vimrc
16
vimrc
|
@ -133,6 +133,9 @@ map <Leader>8 :call RequestGrep()<CR>
|
|||
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 <Leader>ss :call SymbolSearch()<CR>
|
||||
nmap <silent> <leader>af :ALEFirst<cr>
|
||||
nmap <silent> <leader>al :ALELast<cr>
|
||||
nmap <silent> <leader>an :ALENextWrap<cr>
|
||||
nmap <silent> <leader>ap :ALEPreviousWrap<cr>
|
||||
nmap <silent> <leader>aN :ALENext -error<cr>
|
||||
nmap <silent> <leader>aP :ALEPrevious -error<cr>
|
||||
nmap [L <Plug>(ale_first)
|
||||
nmap ]L <Plug(ale_last)
|
||||
nmap [l <Plug>(ale_previous_wrap_error)
|
||||
nmap ]l <Plug>(ale_next_wrap_error)
|
||||
|
||||
nmap <leader>ad :ALEDetail<cr>
|
||||
map <Leader>g :ALEGoToDefinition<CR>
|
||||
map <Leader>gt :ALEGoToTypeDefinition<CR>
|
||||
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue