Use \s consistently, to handle tabs as well as spaces
authorGreg Hurrell <greg@hurrell.net>
Thu, 30 Jul 2015 04:40:47 +0000 (21:40 -0700)
committerGreg Hurrell <greg@hurrell.net>
Thu, 30 Jul 2015 04:40:47 +0000 (21:40 -0700)
after/syntax/vim.vim

index fc8063785c75873e077c6ff3823a646075d0a66b..ebfdb4c4bc0cf28e7195e461ad49decfee2f275e 100644 (file)
@@ -162,7 +162,7 @@ syntax match docvimAnnotation '@option' containedin=docvimBlock contained
 syntax match docvimAnnotation '@param' containedin=docvimBlock contained
 syntax match docvimAnnotation '@plugin' containedin=docvimBlock contained
 syntax match docvimAnnotation '@private' containedin=docvimBlock contained
-syntax match docvimBackticks '\v`[^ `]+`' containedin=docvimBlock contained
+syntax match docvimBackticks '\v`[^\s`]+`' containedin=docvimBlock contained
 syntax match docvimBlockquote '\v^\s*"\s+\zs\>\s+.+$' containedin=docvimBlock contained
 syntax match docvimCrossReference '\v\c\|:?[a-z0-9()<>-]+\|' containedin=docvimBlock contained
 syntax match docvimHeading '\v^\s*"\s+\zs#\s+.+$' containedin=docvimBlock contained