ctags specific to go to include standard library code
This commit is contained in:
+6
-1
@@ -5,7 +5,13 @@ autocmd BufWinLeave *.* silent! mkview
|
||||
autocmd FileType * setlocal indentexpr=
|
||||
autocmd FileType csharp setlocal makeprg=dotnet
|
||||
autocmd FileType go setlocal makeprg=go noexpandtab
|
||||
nnoremap ,ct :!ctags -R .<CR>
|
||||
augroup GoCtags
|
||||
autocmd!
|
||||
autocmd FileType go nnoremap <buffer> ,ct :!ctags -R $(go env GOROOT) .<CR>
|
||||
augroup END
|
||||
nnoremap ,rc :source $MYVIMRC<CR>
|
||||
|
||||
autocmd FileType make setlocal noexpandtab
|
||||
autocmd FileType python setlocal makeprg=basedpyright
|
||||
autocmd FileType yaml setlocal tabstop=2
|
||||
@@ -17,7 +23,6 @@ nnoremap ,cl :clast<CR>
|
||||
nnoremap ,co :copen<CR>
|
||||
nnoremap ,cq :call setqflist([])<CR>:cclose<CR>
|
||||
nnoremap ,cr :cnewer<CR>
|
||||
nnoremap ,ct :!ctags -R .<CR>
|
||||
nnoremap ,cu :colder<CR>
|
||||
nnoremap ,h H
|
||||
nnoremap ,l L
|
||||
|
||||
Reference in New Issue
Block a user