You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my opinion, the highlighting of blocks (Section/SectionEnd, Function/FunctionEnd, PageEx/PageExEnd) should be adjusted to match that other languages. Specifically, the mentioned commands to open/close a block should be highlighted as other.keyword.nsis, while their names should be entity.name.function.nsis.
Adjusting Section is fairly complex, since there many cases to consider, e.g. optional quotes around the name, optional parameters, special prefixes and section indices.
Section NameOfSection
SectionEndSection"Name of Section with Spaces"SectionEndSection -hiddenSection
SectionEndSection"-hidden section"SectionEndSection# hidden sectionSectionEndSection !boldSection
SectionEndSection"!bold section"SectionEndSection/o"optional section"SectionEndSection"section with named index" SECTION_INDEX
SectionEnd
All PRs to improve block highlighting are appreciated.
The text was updated successfully, but these errors were encountered:
In my opinion, the highlighting of blocks (
Section
/SectionEnd
,Function
/FunctionEnd
,PageEx
/PageExEnd
) should be adjusted to match that other languages. Specifically, the mentioned commands to open/close a block should be highlighted asother.keyword.nsis
, while their names should beentity.name.function.nsis
.Adjusting
Section
is fairly complex, since there many cases to consider, e.g. optional quotes around the name, optional parameters, special prefixes and section indices.All PRs to improve block highlighting are appreciated.
The text was updated successfully, but these errors were encountered: