abudden avatar abudden committed 6e7d34d

Fixed ParsingSkipList option.

Comments (0)

Files changed (1)


 function! TagHighlight#ReadTypes#ReadTypesByExtension()
+	call TagHLDebug("Reading Types by Extension", "Information")
 	if ! s:MethodListed('Extension')
 		call TagHLDebug("Read Types by Extension not specified", "Information")
 		return 0
 function! TagHighlight#ReadTypes#ReadTypesBySyntax()
+	call TagHLDebug("Reading Types by Syntax", "Information")
 	if ! s:MethodListed('Syntax')
 		call TagHLDebug("Read Types by Syntax not specified", "Information")
 		return 0
 function! TagHighlight#ReadTypes#ReadTypesByFileType()
+	call TagHLDebug("Reading Types by FileType", "Information")
 	if ! s:MethodListed('FileType')
 		call TagHLDebug("Read Types by FileType not specified", "Information")
 		return 0
-	let fullname = expand(file . ':p')
+	let fullname = fnamemodify(file, ':p')
 	let skiplist = TagHighlight#Option#GetOption('ParsingSkipList')
+	call TagHLDebug("Skip List is " . string(skiplist) . " (length " . len(skiplist) . ")", 'Information')
 	if len(skiplist) > 0
-		let basename = expand(file . ':p:t')
+		let basename = fnamemodify(file, ':p:t')
+		call TagHLDebug("Checking skip list against b(".basename.");f(".fullname.")", "Information")
 		if index(skiplist, basename) != -1
 			call TagHLDebug("Skipping file due to basename match", 'Status')
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.