Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TODO keyword is invisible when being visually highlighted #189

Open
jamestansx opened this issue Jan 1, 2024 · 3 comments
Open

TODO keyword is invisible when being visually highlighted #189

jamestansx opened this issue Jan 1, 2024 · 3 comments

Comments

@jamestansx
Copy link

jamestansx commented Jan 1, 2024

The reason is that they used the same color as shown below:

Visual = { bg = theme.ui.bg_visual },

Todo = { fg = theme.ui.fg_reverse, bg = theme.diag.info, bold = true },

bg_visual = palette.waveBlue1,

fg_reverse = palette.waveBlue1,

@theSprog
Copy link

I also suffer from this problem. Have you solved it? If so, can you tell me your solution?

@jamestansx
Copy link
Author

This is what I temporarily used:

         overrides = function(C)
             local T = C.theme
+            local P = C.palette
 
             return {
                 -- https://github.com/rebelot/kanagawa.nvim#dark-completion-popup-menu
@@ -25,7 +26,9 @@ return {
                 PmenuSbar = { bg = T.ui.bg_m1 },
                 PmenuThumb = { bg = T.ui.bg_p2 },
 
+                ["@comment.note"] = { fg = P.fujiWhite },
                 ["@comment.todo"] = { link = "@comment.note" },
+                Todo = { fg = P.fujiWhite },
             }

@theSprog
Copy link

Awesome! Thank you bro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants