nvim: init.vim: Remove gutentags
We will just fire a tag generation command ourselves with Neomake. No need for gutentags. It isn't smart anyways to work for multiple languages and doesn't work on repos like gst-build.
This commit is contained in:
parent
236048fb2f
commit
d1264962a9
1 changed files with 2 additions and 20 deletions
|
@ -39,7 +39,6 @@ Plug 'vim-utils/vim-husk'
|
|||
" Tags
|
||||
Plug 'sk1418/QFGrep'
|
||||
Plug 'steffanc/cscopemaps.vim', { 'for': 'c' }
|
||||
Plug 'ludovicchabant/vim-gutentags', { 'for': 'c' }
|
||||
Plug 'deoplete-plugins/deoplete-tag'
|
||||
" GDB
|
||||
Plug 'sakhnik/nvim-gdb', { 'do': ':UpdateRemotePlugins' }
|
||||
|
@ -248,7 +247,8 @@ nnoremap <Leader>ghu :GitGutterUndoHunk<CR>
|
|||
nnoremap <Leader>ghr :GitGutterPreviewHunk<CR>
|
||||
nnoremap <Leader>gqf :GitGutterQuickFix<CR>
|
||||
nnoremap <Leader>ggf :GitGutterFold<CR>
|
||||
" For Cscope
|
||||
" For Cscope & tags
|
||||
nnoremap <Leader>ct :NeomakeSh ctags -R .<CR>
|
||||
nnoremap <Leader>cu :NeomakeSh cscope -bqR<CR>
|
||||
nnoremap <Leader>cr :cs reset<CR>
|
||||
" For Neomake
|
||||
|
@ -471,24 +471,6 @@ call neomake#configure#automake({
|
|||
let g:neomake_open_list = 2
|
||||
let g:neomake_warning_sign = {'text': '?'}
|
||||
|
||||
" gutentags configuration
|
||||
" https://www.reddit.com/r/vim/comments/d77t6j/guide_how_to_setup_ctags_with_gutentags_properly/
|
||||
let g:gutentags_add_default_project_roots = 0
|
||||
let g:gutentags_project_root = ['.git']
|
||||
let g:gutentags_cache_dir = expand('$HOME/.vim/tags/')
|
||||
|
||||
let g:gutentags_generate_on_new = 1
|
||||
let g:gutentags_generate_on_missing = 1
|
||||
let g:gutentags_generate_on_write = 1
|
||||
let g:gutentags_generate_on_empty_buffer = 0
|
||||
|
||||
let g:gutentags_ctags_extra_args = [
|
||||
\ '--tag-relative=no',
|
||||
\ '--fields=+ailmnS',
|
||||
\ '--recurse',
|
||||
\ '--if0=yes'
|
||||
\ ]
|
||||
|
||||
" Automatically detect style file and apply style to formatting
|
||||
let g:clang_format#detect_style_file = 1
|
||||
" Additional trigger not required with deoplete
|
||||
|
|
Loading…
Reference in a new issue