Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Kate Kate
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 26
    • Issues 26
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • UtilitiesUtilities
  • KateKate
  • Merge requests
  • !195

Use the new theme function to provide better semantic highlighting

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Waqar Ahmed requested to merge work/semantichighlighting2 into master Jan 22, 2021
  • Overview 3
  • Commits 1
  • Pipelines 0
  • Changes 6

This change is a second proposal for better semantic highlighting for C++ (only). It can be considered as temporary till we add support for offical semantic tokens protocol and till LSPs themselves add proper support for offical semantic tokens. Since only clangd seems to support this, so this change is limited to C++ only (and previously too).

Since we rely on the new API call (theme()), this change will only work for KF > 5.79. Old versions will keep working as is.

BUG: 431014 BUG: 431011

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: work/semantichighlighting2