Bug 430483 - bash syntax highlighting incomplete
Summary: bash syntax highlighting incomplete
Status: RESOLVED DUPLICATE of bug 430668
Alias: None
Product: frameworks-syntax-highlighting
Classification: Frameworks and Libraries
Component: syntax (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-16 22:01 UTC by Dominik Kummer
Modified: 2021-01-30 04:27 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik Kummer 2020-12-16 22:01:46 UTC
SUMMARY
Highlighting does recognize well-known bash syntax since update

STEPS TO REPRODUCE
1. create new file
2. switch highlighting to "bash"
3. type code like: { true && echo ok; }

OBSERVED RESULT
Closing bracket unrecognized

EXPECTED RESULT
Closing bracket after semi-colon recognized as valid syntax

SOFTWARE/OS VERSIONS 
KDE Plasma Version: 5.20.4-2
KDE Frameworks Version: 5.77.0-1
Qt Version: 5.15.2-1
Comment 1 Dominik Kummer 2020-12-19 10:39:57 UTC
I found that the bash syntax highting simply does not know about boolean operators.
Comment 2 Jonathan Poelen 2021-01-30 04:27:57 UTC

*** This bug has been marked as a duplicate of bug 430668 ***