Comments (3)
Thanks! I see that you are using lazy, so you can define a custom config function when you load the colorscheme where you override the highlight groups, e.g.:
config = function()
require("no-clown-fiesta").load()
vim.api.nvim_set_hl(0, "@exeption.python", { fg = "#7e97ab" })
end,
I have not done this myself, but I believe that this should work.
from no-clown-fiesta.nvim.
Thanks, I solved my problem right after posting with vim.cmd(""hi! @exception.python guifg=#7e97ab")
passing it to lazy config
option.
After the response, I add these lines to make it nicer. but I was thinking to add separate file for Python, like we have for git
treesitter
and etc. I don't know how create hl group for something like @exception.python
. If I had to change colors for different languages eventually I need to figure out how to create different group for groups that I inspect
in neovim.
config = function()
local palette = require("no-clown-fiesta.palette")
vim.cmd("colorscheme no-clown-fiesta")
vim.api.nvim_set_hl(0, "@exeption.python", { fg = palette.gray_blue })
vim.api.nvim_set_hl(0, "@inclue.python", { fg = palette.gray_blue })
end
from no-clown-fiesta.nvim.
Yeah, if you want to modify the colorscheme for different languages, I would suggest to fork it (maybe you did that already) and add different highlight groups for each language. It should be fairly obvious how to extend the colorscheme to do this.
from no-clown-fiesta.nvim.
Related Issues (20)
- Setting theme and its settings via vim.g and vim.cmd HOT 2
- LSP diagnosticts colors HOT 4
- Weird status line symbols on particular actions HOT 4
- Colorscheme for terminals? HOT 6
- Contrast difference in diagnostic colors HOT 4
- Screenshot missing HOT 1
- telescope not transparent HOT 10
- Invisible cursor in nvim terminal HOT 3
- CSS highlighting with treesitter HOT 1
- TODO: highlights HOT 6
- Request: nvim-dap-ui HOT 2
- Preview image is broken in the readme file HOT 1
- No working with Lualine plugins HOT 2
- Request: neotest HOT 1
- Add LICENSE file HOT 1
- Treesitter breaking changes HOT 4
- Won't load on startup HOT 6
- Option to change matching Parenthesis/Brackets behavior HOT 1
- Wrong background for Lazy.nvim floating window HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from no-clown-fiesta.nvim.