Created attachment 156916 [details] A shell script showing the problem when opened with Kate 22.08.3 SUMMARY Problem highlighting Bash code. STEPS TO REPRODUCE Using Kate 22.08.3: Open the attached example.sh file. OBSERVED RESULT See incorrect highlighting , like in the screenshot that I will attach. EXPECTED RESULT A correct highlighting. [And thanks for making KDE software such a great one!]
Created attachment 156917 [details] Problems that are seen
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/463
Git commit 4c58d69abf7494791a67ce51a08d87de30620c2b by Christoph Cullmann, on behalf of Jonathan Poelen. Committed on 05/03/2023 at 19:45. Pushed by cullmann into branch 'master'. Bash: fix ${!#} M +1 -1 autotests/folding/highlight.sh.fold M +1 -1 autotests/html/highlight.sh.dark.html M +1 -1 autotests/html/highlight.sh.html M +1 -1 autotests/input/highlight.sh M +1 -1 autotests/reference/highlight.sh.ref M +6 -1 data/syntax/bash.xml https://invent.kde.org/frameworks/syntax-highlighting/commit/4c58d69abf7494791a67ce51a08d87de30620c2b