Custom keywords are highlighted in comments
jeremymouzin opened this issue · 2 comments
jeremymouzin commented
Steps to reproduce the bug:
- Create
.pseudoconfig
file in home directory with following content:
{
"custom": {
"keyword": [
"damn"
]
}
}
- Create a new
test.pseudo
file with the following content:
// This is a comment. This damn word shouldn't be highlighted!
The result is that the damn word in the comment is highlighted while it should not.
The predefined keyword shipped with the extension doesn't highlight in comments.
willumz commented
Thanks for reporting this bug. I've pushed a fix for it so hopefully that'll solve the issue. Let me know if you continue experiencing related problems. 👍🏻
javascriptdezero commented
You're welcome! Thanks for your quick answer. I can confirm this bug is fixed on my side 👍