From b54b2053187d7a1b37a3b3d2b7a1da40ed846db4 Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Thu, 6 Oct 2016 22:48:12 -0700 Subject: [PATCH] Never conceal \ in \newcommand... ... even if pandoc#syntax#conceal#backslash is set. Test with the following file: \*foo \renewcommand \foo Fixes #167. --- syntax/pandoc.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/pandoc.vim b/syntax/pandoc.vim index 153c1ad..920eec5 100644 --- a/syntax/pandoc.vim +++ b/syntax/pandoc.vim @@ -470,7 +470,7 @@ endif syn match pandocHRule /^\s*\([*\-_]\)\s*\%(\1\s*\)\{2,}$/ display " Backslashes: {{{3 if g:pandoc#syntax#conceal#backslash == 1 - syn match pandocBackslash /\\\@