Gruntfuggly / todo-tree

Use ripgrep to find TODO tags and display the results in a tree view
Other
1.43k stars 139 forks source link

Extension reports an error for not having defaultHighlight.background set #829

Open dkstrong opened 6 months ago

dkstrong commented 6 months ago

I prefer to not color the background of my TODO tags (e.g., I just want the text color itself to change). I do this by assigning the background color to be an empty string.

The extension reports this as an issue at load up though. It would be great if the extension just acknowledged this as a valid setting as it doesn't seem to create any problems and it does exactly what I want.

this is the setting I'm using

"todo-tree.highlights.defaultHighlight": { "fontWeight": "700", "background": "" }

The error I get at loading up vscode says

Todo Tree: Invalid colour settings: defaultHighlight.background ()