-
Notifications
You must be signed in to change notification settings - Fork 129
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
LspCodeLens support #10
Comments
Thank you. I'm trying to override this entry, however I was used to do I also tried: vim.g.nightfox_colors = {LspCodeLens = {fg = require('nightfox.colors').orange }} But when I'm doing |
The variable Currently nightfox does not have a mechanism for overriding a highlight group. You can however override a highlight group yourself. Here is a code example of me overriding the -- Setting the style you want the require colors to return
vim.g.nightfox_style = "nordfox"
-- Set the colorscheme
vim.cmd([[colorscheme nightfox]])
-- Get the colors from nightfox and util functions
local colors = require("nightfox.colors").setup()
local util = require("nightfox.util")
-- Pass highlight group you want to override with values
-- Values can be: bg, fg, style, and sp
util.highlight("String", { fg = colors.orange })
|
LspCodeLens
is the color of virtual text added by Lsp when code lens are used.The text was updated successfully, but these errors were encountered: