Description:
The current Cursor Dark theme renders YAML files with inconsistent and incorrect syntax highlighting. This makes it difficult to visually parse the structure and content of YAML files. Ideally, keywords should have distinct highlighting, and values (especially strings) should also have different highlighting from keywords.
To Reproduce:
- Open a
.yml
file in Cursor. The attached screenshot shows abitbucket-pipelines.yml
file. - Observe the syntax highlighting of the keywords and values.
Screenshot:
Operating System and Cursor Version:
macOS Ventura 13.5.1, Cursor 0.48.8
Impact:
The issue hinders readability and makes working with YAML files in Cursor more difficult, but it doesn’t completely prevent usage. Improving the YAML syntax highlighting would significantly enhance the editing experience.