From 1c05d0d9b17a729e43dbe534bd4a76c546261826 Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Sat, 3 Nov 2012 19:19:07 +0900 Subject: [PATCH] - Fixed syntax. --- syntax/snippet.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syntax/snippet.vim b/syntax/snippet.vim index 4484457..43dcdd1 100644 --- a/syntax/snippet.vim +++ b/syntax/snippet.vim @@ -45,10 +45,10 @@ syn match neosnippetComment '^#.*$' syn match neosnippetEscape '\\[`]' contained syn match neosnippetKeyword - \ '^\%(include\|snippet\|abbr\|prev_word\|delete\|alias\|options\|regexpr\|TARGET\)' contained + \ '^\%(include\|snippet\|abbr\|prev_word\|delete\|alias\|options\|regexp\|TARGET\)' contained syn keyword neosnippetOption head word contained syn match neosnippetPrevWords '^prev_word\s\+.*$' contains=neosnippetString,neosnippetKeyword -syn match neosnippetRegexpr '^regexpr\s\+.*$' contains=neosnippetString,neosnippetKeyword +syn match neosnippetRegexpr '^regexp\s\+.*$' contains=neosnippetString,neosnippetKeyword syn match neosnippetStatementName '^snippet\s.*$' contains=neosnippetName,neosnippetKeyword syn match neosnippetName '\s\+.*$' contained syn match neosnippetStatementAbbr '^abbr\s.*$' contains=neosnippetAbbr,neosnippetKeyword