From 5937cea081d2c26ead8191bc9304ee951e3bb9b0 Mon Sep 17 00:00:00 2001 From: Kevin Ballard Date: Sun, 29 Jun 2014 23:22:53 -0700 Subject: [PATCH] Mark up syntax items with 'display' as appropriate --- syntax/snippets.vim | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/syntax/snippets.vim b/syntax/snippets.vim index d4203a0..33161f3 100644 --- a/syntax/snippets.vim +++ b/syntax/snippets.vim @@ -18,8 +18,8 @@ unlet b:current_syntax " Comments {{{2 -syn match snipComment "^#.*" contains=snipTODO -syn keyword snipTODO FIXME NOTE NOTES TODO XXX contained +syn match snipComment "^#.*" contains=snipTODO display +syn keyword snipTODO contained display FIXME NOTE NOTES TODO XXX " Miscellaneous {{{2 @@ -32,8 +32,8 @@ syn match snipKeyword "\(\<\(end\)\?\(snippet\|global\)\>\)\|extends\|clearsnipp " Extends {{{2 -syn match snipExtends "^extends\%(\s.*\|$\)" contains=snipExtendsKeyword -syn match snipExtendsKeyword "^extends" contained +syn match snipExtends "^extends\%(\s.*\|$\)" contains=snipExtendsKeyword display +syn match snipExtendsKeyword "^extends" contained display " Definitions {{{2 @@ -65,14 +65,14 @@ syn region snipGlobal fold keepend start="^global" end="^endglobal" contains=sni " priority {{{3 -syn match snipPriority "^priority\%(\s.*\|$\)" contains=snipPriorityKeyword -syn match snipPriorityKeyword "^priority" contained nextgroup=snipPriorityValue skipwhite -syn match snipPriorityValue "-\?\d\+" contained +syn match snipPriority "^priority\%(\s.*\|$\)" contains=snipPriorityKeyword display +syn match snipPriorityKeyword "^priority" contained nextgroup=snipPriorityValue skipwhite display +syn match snipPriorityValue "-\?\d\+" contained display " Snippt Clearing {{{2 -syn match snipClear "^clearsnippets\%(\s.*\|$\)" contains=snipClearKeyword -syn match snipClearKeyword "^clearsnippets" contained +syn match snipClear "^clearsnippets\%(\s.*\|$\)" contains=snipClearKeyword display +syn match snipClearKeyword "^clearsnippets" contained display " Highlight groups {{{1