diff --git a/nvim/init.vim b/nvim/init.vim index 90937b3..5059123 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -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 ghu :GitGutterUndoHunk nnoremap ghr :GitGutterPreviewHunk nnoremap gqf :GitGutterQuickFix nnoremap ggf :GitGutterFold -" For Cscope +" For Cscope & tags +nnoremap ct :NeomakeSh ctags -R . nnoremap cu :NeomakeSh cscope -bqR nnoremap cr :cs reset " 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