Fix arrow function parens arguments#375
Conversation
|
So, unfortunately, technically this doesn't work. It may appear to work based on your syntax highlighting, however it actually completely breaks the matching of I have been doing a lot of research into this, and it's actually a quite difficult problem to solve. On potential solution may be to remove the |
|
TBH, I don't understand the regex syntax in viml and I thought it was a typo, a missing closing bracket. I hope somebody finds a solution. Unfortunately, I don't have enough free time to look into this issue. |
The syntax highlighter showed error when arrow functions had parentheses surrounding their arugemnts:
I fixed the regex for args in parenthesis and it seems it works. I'm using it right now.
As seen in #374 :)