Skip to content

Commit

Permalink
[nvim] Enable gutentags only for some filetypes
Browse files Browse the repository at this point in the history
As there is a bug in gutentags which causes some errors when exiting,
gutentags is only enabled for some filetyes which are known to not cause
any issues.

This is the corresponding issue:
ludovicchabant/vim-gutentags#178
  • Loading branch information
Patrick Pichler committed Aug 2, 2019
1 parent 1b92622 commit 65846d1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .config/nvim/init.vim
Expand Up @@ -530,6 +530,17 @@ augroup END
" generate datebases in my cache directory, prevent gtags files polluting my project
let g:gutentags_cache_dir = expand('~/.cache/tags')

" This can be disabled when issue
" https://github.com/ludovicchabant/vim-gutentags/issues/178 is fixed {{{

let g:gutentags_enabled = 0

augroup auto_gutentags
au FileType python,java,scala,sh,groovy,vim,clojure,typescript let g:gutentags_enabled=1
augroup end

" }}}

" }}}

" Markdown {{{
Expand Down

0 comments on commit 65846d1

Please sign in to comment.