Bug 495326 - Add better support for CFG files highlighting on Kate
Summary: Add better support for CFG files highlighting on Kate
Status: REPORTED
Alias: None
Product: frameworks-syntax-highlighting
Classification: Frameworks and Libraries
Component: theme (show other bugs)
Version: 6.7.0
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-25 02:49 UTC by EpicTux123
Modified: 2024-10-25 02:49 UTC (History)
0 users

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


Attachments
.cfg file example (18.34 KB, image/png)
2024-10-25 02:49 UTC, EpicTux123
Details

Note You need to log in before you can comment on or make changes to this bug.
Description EpicTux123 2024-10-25 02:49:54 UTC
Created attachment 175208 [details]
.cfg file example

Hello.

.cfg files are primarily used, as far as I know, on Valve Software games, such as Team Fortress 2, Portal 2 etc., that use the Source Engine.

I think it would be cool to add better color support. Specifically, add different colors when separating values instead of being all white.

For example, "bind" could be the default blue (assuming Breeze Dark), while the key and its command could be white and then yellow. IDK, just use different colors, giving preference to the standard (which I don't know what is, but I know it exists).

Same logic for the Console Variables (ConVars), which are like:

cl_showhelp "0" (basically: command "value")

The value could also have another color.

IDK if the quotes should have different colors than the value, but I guess they shouldn't.

Thanks for your attention.