-
Currently I've overridden
Is it possible? I'm using TreeSitter with Solidity parser installed |
Beta Was this translation helpful? Give feedback.
Answered by
mvllow
Jan 10, 2023
Replies: 1 comment 1 reply
-
This is out of the scope of the theme at the moment but perhaps you could manually override colours via an autocmd: vim.api.nvim_create_autocmd("ColorScheme", {
pattern = ".solidity", -- Or whatever the file extension is
callback = function()
-- This hardcodes our "gold" colour but you could require our palette as well.
vim.api.nvim_set_hl(0, "@constructor", { fg = "#f6c177", style = "bold" })
vim.api.nvim_set_hl(0, "@keyword", { fg = "#f6c177", style = "bold" })
end,
}) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
CREESTL
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is out of the scope of the theme at the moment but perhaps you could manually override colours via an autocmd: