Open cloudUser98 opened 1 year ago
@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"
vim.cmd("highlight @tag.attribute gui=NONE cterm=NONE")
The same bug applies to fenced_code_block in markdown files.
Adapted the workaround suggested by @cmattinson :
vim.cmd("highlight @text.literal.block.markdown gui=NONE cterm=NONE")
I have the same bug for react code ! How can I disable the italics for the React components attributes , I tried to style them but is not working !
Can you tell me the highlight group being applied? If you are using 0.9+ put your cursor over the target area and use :Inspect
. What is the result of this?
I hope this helps :
This is inherited from
You can override this by removing the style:
require("nightfox").setup({
groups = {
all = {
["@tag.attribute"] = { fg = "func" },
},
},
})
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