@@ -130,12 +130,45 @@ let g:neosnippet#scope_aliases['python'] = 'python,django'
130
130
" Gutentag
131
131
let g: gutentags_ctags_tagfile= " .ctags"
132
132
let g: gutentags_exclude_project_root= [' /etc' ]
133
- let g: gutentags_project_root = [' .git' , ' .svn' , ' .project' ]
133
+ let g: gutentags_add_default_project_roots = 0
134
+ let g: gutentags_project_root = [' .git' , ' .svn' , ' .project' , ' package.json' ]
134
135
let g: gutentags_file_list_command = {
135
136
\ ' markers' : {
136
137
\ ' .git' : ' git ls-files'
137
138
\ }
138
139
\ }
140
+ let g: gutentags_exclude_filetypes = [' gitcommit' , ' gitconfig' , ' gitrebase' ,
141
+ \ ' gitsendemail' , ' git' ]
142
+ let g: gutentags_cache_dir = expand (' ~/.gutentags_cache' )
143
+ let g: gutentags_generate_on_new = 1
144
+ let g: gutentags_generate_on_missing = 1
145
+ let g: gutentags_generate_on_write = 1
146
+ let g: gutentags_generate_on_empty_buffer = 0
147
+ let g: gutentags_ctags_extra_args = [' --tag-relative=yes' , ' --fields=+ailmnS' ]
148
+ let g: gutentags_ctags_exclude = [
149
+ \ ' *.git' , ' *.svn' , ' *.hg' ,
150
+ \ ' cache' , ' build' , ' dist' , ' bin' , ' node_modules' , ' bower_components' ,
151
+ \ ' *-lock.json' , ' *.lock' ,
152
+ \ ' *.min.*' ,
153
+ \ ' *.bak' ,
154
+ \ ' *.zip' ,
155
+ \ ' *.pyc' ,
156
+ \ ' *.class' ,
157
+ \ ' *.sln' ,
158
+ \ ' *.csproj' , ' *.csproj.user' ,
159
+ \ ' *.tmp' ,
160
+ \ ' *.cache' ,
161
+ \ ' *.vscode' ,
162
+ \ ' *.pdb' ,
163
+ \ ' *.exe' , ' *.dll' , ' *.bin' ,
164
+ \ ' *.mp3' , ' *.ogg' , ' *.flac' ,
165
+ \ ' *.swp' , ' *.swo' ,
166
+ \ ' .DS_Store' , ' *.plist' ,
167
+ \ ' *.bmp' , ' *.gif' , ' *.ico' , ' *.jpg' , ' *.png' , ' *.svg' ,
168
+ \ ' *.rar' , ' *.zip' , ' *.tar' , ' *.tar.gz' , ' *.tar.xz' , ' *.tar.bz2' ,
169
+ \ ' *.pdf' , ' *.doc' , ' *.docx' , ' *.ppt' , ' *.pptx' , ' *.xls' ,
170
+ \]
171
+
139
172
" vim-markdown
140
173
let g: mkdp_browser = ' firefox'
141
174
0 commit comments