Commit Graph

14 Commits

Author SHA1 Message Date
Kevin Ballard
739e3d94ad Fix coloring of shell/VimL/Python command substitutions
Include the sh syntax for shell commands.
Make the matching on !v/!p work more accurately.
Highlight the !v/!p separately from the embedded Python/VimL.

AFAIK the only issue now is that "\`" escapes inside shell/VimL/Python
are not treated as bare "`" characters by the embedded syntax, but I
don't believe there's any way to fix that.
2014-06-29 20:47:22 -07:00
Kevin Ballard
5b80ef187d Properly handle \` escapes in commands 2014-06-29 20:09:13 -07:00
Kevin Ballard
636546bebc Fix syntax name
b:current_syntax should be set to "snippets", as that's the filetype,
not "snippet".
2014-06-29 19:42:57 -07:00
Kevin Ballard
cab1509952 Fix embedded VimL highlighting
The b:current_syntax variable is set by syntax-include, so it needs to
be unset again or the second syntax-include does nothing.
2014-06-29 19:42:11 -07:00
Kevin Ballard
1ad7d54d75 Fix highlighting of Python/VimL commands
Also mark all the highlighting as default, so it can be overridden more
easily by the user.
2014-06-29 19:36:07 -07:00
Holger Rapp
c1b41d0fbf Adds 'priority' keyword and removes '!' option. 2014-02-19 21:04:52 +01:00
Holger Rapp
69194ed853 Added syntax highlighting for leading spaces, as they are most likely wrong. 2014-02-18 18:57:43 +01:00
Holger Rapp
584bee0ab1 Improvements to the syntax file. 2013-03-21 11:32:17 +01:00
Holger Rapp
b56e8991c7 Syntaxhighlighting for clearsnippets by Aaron Schrab 2012-11-24 10:12:36 +01:00
stardiviner
736698469e improve snipVar matches, like 10 100 etc 2012-08-15 14:15:37 +02:00
Holger Rapp
b0827fe3f6 Some improvements to Syntax highlighting including support for ${VISUAL} 2012-02-05 13:15:25 +01:00
Holger Rapp
3563b7a57f Added improvements to the syntax file by Anthony Jackson 2011-03-27 08:07:44 +02:00
Holger Rapp
b371f0c8c4 Updated syntax file by Timo Schmiade 2011-02-19 20:00:24 +01:00
Holger Rapp
c8fe2f4b02 Added a syntax file by Timo Schmiade. Made sure all shipped files are recognized as snippets, even when ftdetect is not in /Users/sirver 2011-02-17 14:07:27 +01:00