Summary: | shuf is printed in bold blue. but it is a command like head or tail and not a function | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-syntax-highlighting | Reporter: | Toralf Förster <toralf.foerster> |
Component: | syntax | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | christoph, jonathan.poelen, walter.von.entferndt |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/syntax-highlighting/commit/4fee60315b1e204ebc9b1808dad2d0576e3ab7f6 | Version Fixed In: | |
Sentry Crash Report: |
Description
Toralf Förster
2021-06-27 09:18:51 UTC
Hi, I assume you are talking about some broken syntax highlighting, could you specify which one? $ cat << EOF > p.sh
> #!/bin/sh
> date | head
> date | shuf
> EOF
$ kate p.sh
shows blue "shuf" not in the colour of "head".
Settings -> Configure Kate -> Color Themes -> Highlighting Text Styles -> color of OtherCommand (In reply to Jonathan Poelen from comment #3) > Settings -> Configure Kate -> Color Themes -> Highlighting Text Styles -> > color of OtherCommand what makes "shuf" differing from "head", "cp", "mv" or others ??? I would say commands that are found basic on all or almost all Linux distributions or which are frequently used (there is no explanation in the file). Those of GNU Core Utilities for example. And after verification, shuf is in GNU Core Utilities... '^^ A possibly relevant merge request was started @ https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/282 Git commit 4fee60315b1e204ebc9b1808dad2d0576e3ab7f6 by Christoph Cullmann, on behalf of Jonathan Poelen. Committed on 18/12/2021 at 18:29. Pushed by cullmann into branch 'master'. Bash: more unixcommands (GNU coreutils and some others) M +34 -0 data/syntax/bash.xml https://invent.kde.org/frameworks/syntax-highlighting/commit/4fee60315b1e204ebc9b1808dad2d0576e3ab7f6 |