Allow ignoring specific files, closes #169

This commit is contained in:
Jan Larres committed 2013-11-08 17:27:34 +13:00
1 parent 1a2c4ec958
commit 207b8520c2
2 files changed
+15

No files matched your search

+5
View File
@@ -3590,6 +3590,11 @@ function! s:IsValidFile(fname, ftype) abort
return 0
endif
if getbufvar(a:fname, 'tagbar_ignore') == 1
call s:LogDebugMessage('File is marked as ignored')
return 0
endif
if &previewwindow
call s:LogDebugMessage('In preview window')
return 0