From ea8094c50614e8999a3221b0148236bfaf802b90 Mon Sep 17 00:00:00 2001 From: Stanislav Seletskiy Date: Fri, 1 Apr 2016 15:27:31 +0600 Subject: [PATCH] syntax: treat python in context/actions as string However, highlight it as python code. It's required for some tools, which are based on syntax files to run actions. --- syntax/snippets.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/syntax/snippets.vim b/syntax/snippets.vim index dba71a7..f7782fb 100644 --- a/syntax/snippets.vim +++ b/syntax/snippets.vim @@ -195,6 +195,8 @@ hi def link snipShellCommand snipCommand hi def link snipVimLCommand snipCommand hi def link snipPythonCommandP PreProc hi def link snipVimLCommandV PreProc +hi def link snipSnippetContext String +hi def link snipAction String hi def link snipEscape Special hi def link snipMirror StorageClass