https://bugs.kde.org/show_bug.cgi?id=465481
Bug ID: 465481 Summary: Code inside #if directive in c/c++ gets highlighted as commented when LSP Client's Semantic Highlighting Option is enabled Classification: Applications Product: kate Version: 22.12.2 Platform: Microsoft Windows OS: Microsoft Windows Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kwrite-bugs-n...@kde.org Reporter: sussybakalol...@gmail.com Target Milestone: --- Created attachment 156076 --> https://bugs.kde.org/attachment.cgi?id=156076&action=edit Code with #if directive SUMMARY Code inside #if directive gets highlighted as commented when LSP Client's Semantic Highlighting Option is enabled The LSP Server is clangd On removing the #if directives and reopening the file from within Kate, Code Highlighting works normally STEPS TO REPRODUCE 1. Enable the Semantic Highlighting option from LSP Client Settings 2. Write some C/C++ code inside #if directives -- You are receiving this mail because: You are watching all bug changes.