syntax fix for subdirs
This commit is contained in:
parent
ff10513cdd
commit
b6ef2333b4
@ -5,7 +5,7 @@ if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
if expand("%:p:h:t") == "snippets" && search("^endsnippet", "nw") == 0
|
||||
if expand("%:p:h") =~ "snippets" && search("^endsnippet", "nw") == 0
|
||||
\ && !exists("b:ultisnips_override_snipmate")
|
||||
" this appears to be a snipmate file
|
||||
" It's in a directory called snippets/ and there's no endsnippet keyword
|
||||
|
Loading…
Reference in New Issue
Block a user