LuaLS / LuaLS/lua-language-server

Disable highlight of TODO/NOTE but keep semantic highlighting enabled

Open
#1,809 7 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Lua
Stars
4.4k
Forks
442
PR merge metrics
No merged PRs in 30d

Description

Semantic highlighting unfortunately makes TODO/NOTE/etc. strings in comments unreadable with the color scheme I use (https://github.com/rebelot/kanagawa.nvim), but it can be useful otherwise. Is there a way to prevent semantic highlighting from altering the coloring of these TODO/NOTE strings in comments while keeping it enabled?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how semantic highlighting assigns colors to TODO/NOTE/etc. strings inside comments, using the issue description as the behavior to reproduce. The work is done when semantic highlighting remains enabled while those comment strings retain the normal comment coloring, including with the kanagawa.nvim color scheme.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.