Update vimrc and zshrc
This commit is contained in:
parent
cc00f6aa9f
commit
ddf61e28b6
3
vimrc
3
vimrc
|
@ -163,6 +163,7 @@ let g:go_fmt_options = {
|
|||
\ 'goimports': '-local github.com/sensiblecode.com/cantabular',
|
||||
\ }
|
||||
autocmd BufNewFile,BufRead *.gohtml set syntax=gohtmltmpl
|
||||
autocmd BufNewFile,BufRead *.go nmap <silent> <leader>g6 :GoAlternate!<cr>
|
||||
" https://github.com/golang/tools/blob/master/gopls/doc/vim.md#vim-go
|
||||
let g:go_def_mode='gopls'
|
||||
let g:go_info_mode='gopls'
|
||||
|
@ -171,8 +172,6 @@ let g:go_info_mode='gopls'
|
|||
let g:rustfmt_autosave = 1
|
||||
|
||||
" ALE configuration:
|
||||
" Note: needs https://github.com/dense-analysis/ale/issues/3373
|
||||
" to avoid "json decode error" during deoplete resolution.
|
||||
function SymbolSearch()
|
||||
call inputsave()
|
||||
let s:pattern = trim(input("symbol search: "))
|
||||
|
|
Loading…
Reference in New Issue