dsControlFlow support for CMake is missing. OBSERVED RESULT The following statements break continue elseif else endforeach endif endwhile foreach if while are highlighted in the style dsKeyword. EXPECTED RESULT The following statements break continue elseif else endforeach endif endwhile foreach if while are highlighted in the style dsControlFlow.
You can add `FEATURE: 460596`¹ in your commit message so that the associated number is automatically closed when the MR is merged. ¹ https://community.kde.org/Policies/Commit_Policy#Special_keywords_in_GIT_and_SVN_log_messages
Oops, wrong issue. To make amends, I'll watch this.
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/376
Git commit b067d6098da740c26aff54306b549cc79a297c60 by Christoph Cullmann, on behalf of Jonathan Poelen. Committed on 26/10/2022 at 09:00. Pushed by cullmann into branch 'master'. CMake: add Control Flow style for if, else, while, etc M +3 -3 autotests/html/highlight.cmake.dark.html M +3 -3 autotests/reference/highlight.cmake.ref M +2 -1 data/generators/cmake.xml.tpl M +1 -1 data/generators/cmake.yaml M +15 -1 data/generators/generate-cmake-syntax.py M +11 -10 data/syntax/cmake.xml https://invent.kde.org/frameworks/syntax-highlighting/commit/b067d6098da740c26aff54306b549cc79a297c60