Closed aeschli closed 8 months ago
From https://github.com/microsoft/vscode/issues/198284
Setup:
Steps to Reproduce:
File > Preferences > Theme > Color Theme > Dark
File > Preferences > Theme > Color Theme > Dark Modern
File > Preferences > Theme > Color Theme > Dark+
Problems:
When specifying a variable attribute (like -r) with declare and local, the syntax highlight breaks (see screenshot above):
-r
declare
local
(for clarification, any option in declare & local breaks the syntax highlight, not just -g and -r)
-g
Reference (full list of options):
Related:
Example:
# REFERENCE FUNCTION_CALL correct="ok" export correct="ok" declare correct="ok" declare correct=( "all" "good" ) local correct="ok" local correct=( "ok" "works" ) # PROBLEM declare -g wrong="bad" declare -g wrong=( "even" "worse" ) local -r wrong="bad" local -r wrong=( "bad" )
From https://github.com/microsoft/vscode/issues/198284
Setup:
Steps to Reproduce:
File > Preferences > Theme > Color Theme > Dark
File > Preferences > Theme > Color Theme > Dark Modern
File > Preferences > Theme > Color Theme > Dark+
Problems:
When specifying a variable attribute (like
-r
) withdeclare
andlocal
, the syntax highlight breaks (see screenshot above):(for clarification, any option in
declare
&local
breaks the syntax highlight, not just-g
and-r
)Reference (full list of options):
declare
)Related:
Example: