Skip to content

Commit

Permalink
Fix gutentags vim settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfred Bez committed Mar 31, 2021
1 parent 8af26b1 commit 7f58558
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,39 @@ let g:EditorConfig_exclude_patterns = ['fugitive://.*']
let g:EditorConfig_exec_path = '/usr/bin/editorconfig'

" Gutentags Settings
let g:gutentags_ctags_exclude = ['*.css', '*.html', '*.js']
let g:gutentags_cache_dir = '~/.vim/gutentags'
let g:gutentags_add_default_project_roots = 0
let g:gutentags_project_root = ['package.json', '.git', '.hg', '.svn']
let g:gutentags_exclude_filetypes = ['gitcommit', 'gitconfig', 'gitrebase', 'gitsendemail', 'git']
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=yes', '--fields=+ailmnS']
let g:gutentags_ctags_exclude = [
\ '*.css', '*.html', '*.js',
\ '*.git', '*.svn', '*.hg',
\ 'cache', 'build', 'dist', 'bin', 'node_modules', 'bower_components',
\ '*-lock.json', '*.lock',
\ '*.min.*',
\ '*.bak',
\ '*.zip',
\ '*.pyc',
\ '*.class',
\ '*.sln',
\ '*.csproj', '*.csproj.user',
\ '*.tmp',
\ '*.cache',
\ '*.vscode',
\ '*.pdb',
\ '*.exe', '*.dll', '*.bin',
\ '*.mp3', '*.ogg', '*.flac',
\ '*.swp', '*.swo',
\ '.DS_Store', '*.plist',
\ '*.bmp', '*.gif', '*.ico', '*.jpg', '*.png', '*.svg',
\ '*.rar', '*.zip', '*.tar', '*.tar.gz', '*.tar.xz', '*.tar.bz2',
\ '*.pdf', '*.doc', '*.docx', '*.ppt', '*.pptx', '*.xls',
\]

""""""""""""""""""""
" Make Ctrl-P faster
Expand Down

0 comments on commit 7f58558

Please sign in to comment.