Re: Help with syntax highlighting for YAML files?
David O'Brien <[email protected]> Thu, 27 Feb 2025 20:25:17 +1000
| Newsgroups | gmane.comp.kde.devel.kwrite |
|---|---|
| Organization | Red Hat, Inc. |
| Message-ID | <[email protected]> |
Thank you Waqar. I don't know that I have the skills to provide a patch, but I'll have a look, and definitely report it as a bug. Regards, David On 2/27/25 5:48 PM, Waqar Ahmed wrote: > Hi, > > This seems like a bug. I urge to report it on the bugzilla > https://bugs.kde.org/ and provide minimal code that can trigger this > issue. > > In the meantime, you can fix it locally or perhaps even send a patch? > > Our syntax files are here: > https://invent.kde.org/frameworks/syntax-highlighting/-/tree/master/data/syntax > > documentation about it: > https://docs.kde.org/stable5/en/kate/katepart/highlight.html > > Waqar > > On Wed, Feb 26, 2025 at 6:09 PM David O'Brien <[email protected]> wrote: >> I work as an editor, working primarily in .adoc and .yml files and Kate >> does a great job. I have recently come across a curious behaviour where >> Kate takes the apostrophe in my surname to mean the end of the current >> string or block (I don't know the correct terminology, sorry). This >> means that all syntax highlighting after the apostrophe is lost. I can >> use two apostrophes to "fix" it, but the output is then two apostrophes. >> >> Is there a way I can edit the way Kate sees apostrophes so that it just >> treats them as standard characters? >> >> OBrien <-- No issues. >> >> O'Brien <-- Syntax highlighting is "broken" after the apostrophe. >> >> O`Brien <-- No issues if I use a backtick. >> >> Please CC me on any replies. >> >> Thanks very much. >> >> -- >> David >> Introvert/Unclubbable/Cool >> >> An open culture doesn't play politics or care about hierarchies and titles. >> >> Red Hat's core values are freedom, courage, commitment, and accountability. >> >> I acknowledge and pay respect to the past and present Traditional Custodians and Elders of this nation. >> -- David Introvert/Unclubbable/Cool An open culture doesn't play politics or care about hierarchies and titles. Red Hat's core values are freedom, courage, commitment, and accountability. I acknowledge and pay respect to the past and present Traditional Custodians and Elders of this nation.