mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-06 22:55:10 +01:00
Be more conservative with which files are indexed
This commit is contained in:
5
.vimrc
5
.vimrc
@@ -486,7 +486,10 @@ au BufNewFile,BufRead *.j2,*.jinja2 set ft=jinja
|
||||
Plug 'ludovicchabant/vim-gutentags'
|
||||
" know when Gutentags is generating tags (prints 'TAGS' in status-line)
|
||||
set statusline+=%{gutentags#statusline()}
|
||||
let g:gutentags_ctags_exclude = ["*.min.*", "build", ".bundle", ".git", "log", "node_modules", "tmp", "vendor", "*.vim/bundle/*", "*.vim/plugged/*"]
|
||||
let g:gutentags_ctags_exclude = ["*.min.*", "build", ".bundle", ".git", "log", "node_modules", ".obsidian/*", "tmp", "vendor", "*.vim/bundle/*", "*.vim/plugged/*"]
|
||||
" use ripgrep to create list of files to index, which should help with
|
||||
" ignoring non-versioned files, for example with .gitignore
|
||||
let g:gutentags_file_list_command = 'rg --files'
|
||||
"let g:gutentags_trace = 1
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user