summaryrefslogtreecommitdiffstats
path: root/misc/_vimrc_local.vim
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2014-04-01 17:29:13 +0200
committerJan Pokorný <jpokorny@redhat.com>2014-04-01 17:29:13 +0200
commite9badd8f50176a42f9a73cdf94d08fb531f94d3d (patch)
tree992aa1d087a1aca2e2d5d8e386d94d5e373a498d /misc/_vimrc_local.vim
parentb65d58a9d153d1f8ae82f4d359cf0067e0b5e903 (diff)
downloadclufter-e9badd8f50176a42f9a73cdf94d08fb531f94d3d.tar.gz
clufter-e9badd8f50176a42f9a73cdf94d08fb531f94d3d.tar.xz
clufter-e9badd8f50176a42f9a73cdf94d08fb531f94d3d.zip
Simplify: _vimrc_local.vim as suitable symlinks to misc
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'misc/_vimrc_local.vim')
-rw-r--r--misc/_vimrc_local.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/misc/_vimrc_local.vim b/misc/_vimrc_local.vim
new file mode 100644
index 0000000..fb2632f
--- /dev/null
+++ b/misc/_vimrc_local.vim
@@ -0,0 +1,8 @@
+" highlight the string enclosed by ' triples as XSLT
+unlet b:current_syntax
+syntax include @XSLT syntax/xslt.vim
+syntax region xsltSnip start="^.\+'''[\\]\?\n" end="^'''" contains=@XSLT
+syn match xslElement '\%(clufter:\)\@<=descent'
+syn match xslElement '\%(clufter:\)\@<=descent-mix'
+syn match xslElement '\%(clufter:\)\@<=message'
+syn match xslElement '\%(clufter:\)\@<=snippet'