Closed Cutuchiqueno closed 10 years ago
(Incidentally, it seems that github also exhibits this bug when parsing strings beginning with @
)
This seems to be a bug in vim itself. I just tried changing the rule so it matches all printable characters excluding whitespace, like so:
syn match pandocPCite /@[[:graph:]]*/
but the issue still persists. A workaround is to turn the rule into this
syn match pandocPCite /@[[:graph:]äëïöü]*/
but we might still have issues with other characters (hard to know which ones).
I see, that's kind of 'funny'. However it is already an improvement for my PhD. I think at a first step it be valuable for everyone to at least add 'common' letters like äöüßáà(and the rest of the spanish and french ones). Of cause it's very western-european centristic but it would serve circumstances until a global solution may be found, what do you think?
I've just pushed the changes neede for this to master. I added ä-ü, á-ú, à-ù, ß and ł support. That should cover a bunch of cases.
I have a bibkey @Krämer2003 which is highlighted as bibkey correctly until the letter 'ä'. Afterwards it changes to normal writing color. So syntax highlighting for inline segments does not seem to support special characters which are common in Names and titels out of english speaking countries.