[UPDATE][VIM] Remove tag management plugins
I have never used `gutentags` or `gutentags_plus`, mostly because the only project that I have done that could have benefited from it (the Tiger Compiler) did not play well with `universal-ctags`.
This commit is contained in:
parent
5c2f708374
commit
db4be2feaf
24
vim/.vimrc
24
vim/.vimrc
|
@ -84,10 +84,6 @@ Plug 'vim-pandoc/vim-pandoc'
|
|||
Plug 'tpope/vim-git'
|
||||
" An awesome git wrapper
|
||||
Plug 'tpope/vim-fugitive'
|
||||
" Tag management
|
||||
Plug 'ludovicchabant/vim-gutentags'
|
||||
" Handling multiple cscopes for gutentags
|
||||
Plug 'skywind3000/gutentags_plus'
|
||||
" Fuzzy file finder (installs zfz system-wide)
|
||||
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
|
||||
" Pre-written functions for fzf mappings
|
||||
|
@ -186,20 +182,6 @@ let g:better_whitespace_enabled=1
|
|||
let g:strip_whitespace_on_save=1
|
||||
" }}}
|
||||
|
||||
" GutenTags settings {{{
|
||||
""""""""""""""""""""
|
||||
" Enable gutentags
|
||||
let g:gutentags_enabled=1
|
||||
" enable gtags module
|
||||
let g:gutentags_modules=['ctags', 'gtags_cscope']
|
||||
" config project root markers.
|
||||
let g:gutentags_project_root=['.root', 'Makefile']
|
||||
" generate datebases in my cache directory, prevent gtags files polluting my project
|
||||
let g:gutentags_cache_dir=expand('~/.cache/tags')
|
||||
" forbid gutentags adding gtags databases
|
||||
let g:gutentags_auto_add_gtags_cscope=0
|
||||
" }}}
|
||||
|
||||
" Theme settings {{{
|
||||
""""""""""""""""
|
||||
" Use a slightly darker background color to differentiate with the status line
|
||||
|
@ -303,12 +285,6 @@ nnoremap <Leader>gm :Gmerge<Space>
|
|||
" }}}
|
||||
" }}}
|
||||
|
||||
" Status line {{{
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" Show ctags and cscopes generation in status line
|
||||
set statusline+=%{gutentags#statusline()}
|
||||
" }}}
|
||||
|
||||
" Import settings when inside a git repository {{{
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
let git_settings=system("git config --get vim.settings")
|
||||
|
|
Loading…
Reference in a new issue