Syntax highlighting for CMakeLists.txt with escaped quotes marks almost the entire file as a single string

Summary

The syntax highlighting in CMakeLists.txt that contains escaped quotes covers almost the whole file as you can see in the attached picture.

Steps to reproduce

  1. Open this CMakeLists.txt file

What is the current bug behavior?

The syntax highlighter marks everything after a pair of escaped quotes as a string, when it's not.

What is the expected correct behavior?

Escaped quotes should be correctly treated and let the syntax marking continue successfully without marking 90% of the file as a string

Relevant logs and/or screenshots

Captura_de_pantalla_20260206_120822

Edited Feb 06, 2026 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading