Overwriting the default highlights and colors #749
Unanswered
RafaGR2972
asked this question in
Q&A
Replies: 1 comment
-
It seems to be the right setup, but this place is a lazy.nvim discussion, so it would be better to ask on material.nvim, Reddit(https://www.reddit.com/r/neovim/), or neovim discourse(https://neovim.discourse.group/). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Folk,
I congratulate you for the excellent plugin. I hope you can help me. I use colorscheme material and I want to change the color of the cursor. How can I implement the following code?
Greetings.
local material = require 'material'
local colors = require 'material.colors'
material.setup{
-- Custom colors must be a function that takes in the default colors table as
-- a paramter, and then modifies them.
-- To see the available colors, see lua/material/colors/init.lua
custom_colors = function(colors)
colors.editor.cursor= "#371f6e"
end
}
Beta Was this translation helpful? Give feedback.
All reactions