Closed andresrodco closed 3 years ago
Closing this bug and creating it in vim-javascript. I think I have a solution for that.
@andresrodco You can use yuezk/vim-js
as the alternative to vim-javascript
. I believe it won't have this problem and I'm more familiar with that plugin.
Thanks @yuezk That plugin worked as expected!
When any but the last destructuring key is surrounded by quotes, the error ocurs:
When any but the last destructuring key is NOT surrounded by quotes, the highlight is ok:
I've managed to research a little bit the issue and this is what I found:
.js
file.group: jsParensError->Error guifg=255(255) guibg=203(203)
, which is declared in the syntax/javascript.vim file.I'm not very savvy in regular expressions or syntax highlight debugging so I really don't know where to start looking for a fix. Hope someone can have an idea about fixing this.