Closed ashincoder closed 3 years ago
I wasn't able to find onedarker. Is it onedark.nvim? Could you link it?
sorry for not linking it. :pleading_face: https://github.com/LunarVim/onedarker.nvim
@ashincoder oh, it's fine. I was just curious about it. Could you update and check if it works?
@tiagovla Now it works :smile:. Could u make it bold ? So it stands out. Great. Thank you :smile: :+1:
Tbh I did try that, but I think it's way too much. Specially using medium size instead of regular.
If you want to customize it in your config, you can use this after loading the theme:
local function replace_hl(group, val)
local ns = vim.api.nvim_create_namespace('tokyodark')
local res = vim.api.nvim_get_hl_by_name(group, true)
res = vim.tbl_extend("force", res, val)
vim.api.nvim_set_hl(ns, group, res)
end
local groups = {"commentTSDanger", "commentTSNote", "commentTSWarning"}
for _, group in ipairs(groups) do replace_hl(group, {bold = true}) end
Btw, these are the groups used by treesitter, Todo is linked if those are not defined. https://github.com/tiagovla/tokyodark.nvim/blob/c1052e548db1b6107155d0b7f3aa577a12d2464a/lua/tokyodark/highlights.lua#L187-L189
This is tokyodark:
This is onedarker:
The todo comments some don't work. Love this colorscheme.