LucHermitte / lh-brackets

LH's bracketing system for vim
Other
51 stars 2 forks source link

Multiple errors when usemarks is off #9

Closed flowchartsman closed 8 years ago

flowchartsman commented 8 years ago

If I :let b:usemarks = 0 or :let g:usemarks = 0, the following occurs when I type a bracket:

Error detected while processing function lh#brackets#opener[71]..lh#map#insert_seq[15]..lh#map#smart_insert_seq2:
line    6:
E871: (NFA regexp) Can't have a multi follow a multi !
Press ENTER or type command to continue
Error detected while processing function lh#brackets#opener[71]..lh#map#insert_seq[15]..lh#map#smart_insert_seq2:
line    6:
E62: Nested +
Press ENTER or type command to continue
Error detected while processing function lh#brackets#opener:
line   71:
E171: Missing :endif
Press ENTER or type command to continue

The error disappears if I :unlet b:usemarks

LucHermitte commented 8 years ago

I should be fixed now. Thank you.

flowchartsman commented 8 years ago

Indeed it appears to be. Good work, man. My favorite solution so far.

LucHermitte commented 8 years ago

Thank you :)