Author Topic: Behaviour of "|" character in vim config files ?  (Read 3616 times)

0 Members and 1 Guest are viewing this topic.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Behaviour of "|" character in vim config files ?
« on: July 26, 2014, 04:41:56 am »
I am trying to make a file to add support for syntax highlighting for Axe code in vim, and in the list of tokens I'd like to support is for example "[|a] [|b]".
However, when I try to open an "Axe file" with this syntax file, it says an error (can't tell exactly which error, I have two PCs, one with internet (this one) and the other one without (the one I am experiencing issues with vim)) about "a]" and "[", as if every "|" character broke the line or something and then what it saw was "[" followed with "a]" followed with "[".

So any idea what this character does ?
And most of all, any idea how I could get vim to highlight "[|a]" without getting an error when opening my files ?
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s