Closed ivotron closed 11 years ago
I'm unable to reproduce this.
this is the highlighting I get. The following settings in .vimrc
:
" HTML style comments
"
setlocal commentstring=<!--%s-->
setlocal comments=s:<!--,m:\ \ \ \ ,e:-->,fb:-,fb:*,fb:+
" add dash and underscore as letter of words in dictionaries
setlocal iskeyword+=@,48-57,-,_,*,:,192-255
And vim-pandoc version:
ivo@reynalda:~/.opt/vam/pandoc
$ git rev-parse HEAD
c593c2b471964cb385ed349cbde8af86b2d09af7
ivo@reynalda:~/.opt/vam/pandoc
$ git remote -v
origin git://github.com/vim-pandoc/vim-pandoc.git (fetch)
origin git://github.com/vim-pandoc/vim-pandoc.git (push)
ivo@reynalda:~/.opt/vam/pandoc
$
OK, I can confirm now. I get this, though. I have
let g:pandoc_no_spans = 1
in my vimrc, which disables the highlighting of italics. That can be conflicting in the second case. I think I know what the problem is, I'll try to solve it asap.
I see, using
let g:pandoc_no_spans = 1
fixes the highlighting of the square-braket-sorrounded reference. Thanks a lot
I'm working on the syntax file again at https://github.com/fmoralesc/vim-pandoc-syntax (will merge when ready). This shouldn't be an issue anymore, so I'm closing this issue,
When a citation is typed, eg:
[@doe_something:_2006]
the text after the:
is not correctly highlighted.