mattn/zencoding-vim — Issue #38: | in JS or PHP
Author: WouterJ
Created: 2011-10-25 14:38:12+00:00
State: open

I added some nice HTML snippets to the file, but I've a problem. The | is used for the place where the cursor is standing in a snippet, but if you use || (or) in JS it will be seen as the | for cursor.

Not only in JS, but if you use conditional comments and you are doing something like this:

The | is also used to replace for the cursor.

I've tried to escape the character \|, but that don't work.