Error in syntax highlighting for Syntax Style "ShellScript" #1483
Labels
better to fix
unwanted behaviors better to fix
syntax highlight
issues related to syntax highlighting
Description
$# is not highlighted as special variable
To Reproduce
Create a POSIX shell script which contains the following statement:
Expected behavior
The three statements are highlighted as statements.
However, the highlighter treats the # in $# > 0 as the start of a comment and
highlights the whole line as comment.
CotEditor version
4.5.4 (566)
macOS version
12.6.5 (Build 21G531)
Additional context
No response
The text was updated successfully, but these errors were encountered: