summaryrefslogtreecommitdiffstats
path: root/after/syntax/tex.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2013-09-17 01:43:28 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2013-09-17 01:43:28 +0200
commitba1305772d6dc5939fd7fbad57108aa71ee2d158 (patch)
tree17fbd0d7dcd8f3f7847a953cb5d7eed98bd4cd65 /after/syntax/tex.vim
parentff3cc42bf3ef067324364b5a40f2e457d202588c (diff)
downloadvim-polyglot-ba1305772d6dc5939fd7fbad57108aa71ee2d158.tar.gz
vim-polyglot-ba1305772d6dc5939fd7fbad57108aa71ee2d158.zip
fix: Switch latex to LaTeX-Box-Team/LaTeX-Box, fixes #6
Diffstat (limited to 'after/syntax/tex.vim')
-rw-r--r--after/syntax/tex.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/after/syntax/tex.vim b/after/syntax/tex.vim
new file mode 100644
index 00000000..32af7253
--- /dev/null
+++ b/after/syntax/tex.vim
@@ -0,0 +1,2 @@
+" adds support for cleverref package (`\cref` and `\Cref`)
+syn region texRefZone matchgroup=texStatement start="\\\(c\|C\)ref{" end="}\|%stopzone\>" contains=@texRefGroup