highlight.js
highlight.js copied to clipboard
(nsis) Incorrect highlighting of keywords
Describe the issue
I have identified several cases where the highlighting for NSIS keywords is incorrect:
- keywords should only highlight when at the beginning of the line (with or without leading whitespace)
- keyword blocks should highlight both, the opening and closing keywords
See failing tests for specifics.
Which language seems to have the issue?
NSIS
Are you using highlight or highlightAuto?
Neither. I'm using the Mocha tests.
Expected behavior
Keywords should be highlighted correctly.
@idleberg Any interest in coming back and finishing this one? Otherwise may close this issue for age. This seems to be an obscure language (at least based the activity level around it) and I try and limit our open issues to something reasonable, those we might expect someone to show up and be able to jump into.
If you'd like to flesh out your two items a bit further in the issue (so that someone not familiar with NSIS could maybe pick this up) with actual examples, failing cases, etc... we might be able to leave this around a while longer.
Thoughts?
@joshgoebel Thanks for the reminder, I will give this another go