commit
dfde9b0032
@ -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