https://bugs.kde.org/show_bug.cgi?id=431597
Bug ID: 431597
Summary: [LSP][clangd]Incorrect syntax highlight in C post
typing out the entire struct.
Product: kate
Version: 20.12.1
Platform: Archlinux Packages
OS: Linux
Status: REPORTED
Severity: minor
Priority: NOR
Component: syntax
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 134851
--> https://bugs.kde.org/attachment.cgi?id=134851&action=edit
Bug presentation, with an example file with a struct.
SUMMARY
>From a user perspective this depends on his typing speed.
The C code might get improperly highlighted.
The issue isn't dependent on the "Highlight range between selected brackets"
setting.
STEPS TO REPRODUCE
Write out C structs, the syntax highlight sometimes doesn't follow up with the
syntax highlight convention.
OBSERVED RESULT
"};" traces into syntax of a struct type name, user needs to refresh the file
for proper syntax highlight.
EXPECTED RESULT
After a short period of inactivity, the structs should get properly
highlighted.
(they don't always do)
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
ADDITIONAL INFORMATION
clangd version 11.0.1
--
You are receiving this mail because:
You are watching all bug changes.