Comments (4)
You're right. I will keep using the theme without modifying though. Changing fg to red is not to my liking but there is always an option. Thanks again for your support. 👍
from material.nvim.
@equalis3r Of course, I'm working on it. Can you please post a random screenshot of the problem, so that I can see exactly which highlight groups I need to change.
from material.nvim.
@marko-cerovac Thanks for your fast response. Below is a screenshot. I'm also using treesitter but the self keyword still has the same color as the attributes of the class.
from material.nvim.
Thanks for the screenshot, It made things a lot easier. The issue seems to be with treesitter. Both the 'self' keyword and the parameters fall under the same highlight group called TSField. This means that they can't be separated. If you open material.nvim/lua/material/theme.lua and go to the line 252, you can change the value to some other color and you will see that both the keyword and the parameter change.
When you are trying to manage 5 styles of a colorscheme and need to get them to be perfect, many issues and flaws like this pop up. That is why I created an option for the user to overwrite any highlight that they don't like.
If you find the color really difficult to work with, I suggest adding something like this to your theme config
require('material').setup({
custom_highlights = {
TSField = { fg = '#F07178' } -- This will make them red
}
})
from material.nvim.
Related Issues (20)
- New material `colors.editor.fg_dark` too dark HOT 3
- Add vim-treesitter-context support HOT 4
- Add highlights for flash.nvim HOT 10
- Tab colours aren't in Material colours HOT 2
- List chars HOT 2
- Indent-Blankline V3 support HOT 1
- Plugin doesn't work at all; nothing is highlighted HOT 7
- The colors are different from the colors in vscode HOT 1
- plugin breaks kitty protocol (existing workaround) HOT 2
- Automatic enabling of plugin support HOT 3
- Can't see text in `neotree` if not run `colorscheme material-darker` HOT 5
- How can I disabled underline like this? HOT 3
- tree-sitter highlights broken since introduction of Neovim (nightly) default colourscheme HOT 3
- Noice colour scheme not working HOT 2
- captures changed in nvim-treesitter HOT 3
- Unable to Remove Bold Text Styling in Neovim Configuration HOT 2
- Feature Request: Provide option to highlight diagnostic virtual text HOT 6
- Add Support for `CocHighlight{Text,Read,Write}` Highlight Groups HOT 2
- Broken syntax support for python file. HOT 2
- style fg color not working but bg does work HOT 3
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 material.nvim.