-
Notifications
You must be signed in to change notification settings - Fork 156
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
bug: Can't disable italics for React components properties #361
Comments
@cloudUser98 I just installed this theme and encountered this issue as well (on Mac, using Packer). JSX props look to be tied to the @tag.attribute highlight group, you can get around this temporarily by adding an override in your "after" config folder, e.g. "after/plugin/nightfox.lua"
|
The same bug applies to fenced_code_block in markdown files. Adapted the workaround suggested by @cmattinson :
|
Can you tell me the highlight group being applied? If you are using 0.9+ put your cursor over the target area and use |
This is inherited from
You can override this by removing the style: require("nightfox").setup({
groups = {
all = {
["@tag.attribute"] = { fg = "func" },
},
},
}) |
This work: require("nightfox").setup({
groups = {
all = {
["@tag.attribute"] = { style = "" },
},
},
}) |
Neovim version (nvim -v)
0.8.3
Operating system/version
Fedora 36
Describe the bug
I have the default config options for the colorscheme, but i am not being able to disable the italics style for the properties in the react components with javascript.
Steps To Reproduce
Expected Behavior
Not having styles at all on my syntax
Repro
The text was updated successfully, but these errors were encountered: