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.
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.