Closed nikola993 closed 1 month ago
your code is right
But the M.polish_hl is not doing anything I had to add hl_override = { SpecialChar = { fg = "#D7B596" }, }
Inside of chadrc file to change the color of special characters, is that how it suppose to be?
your code works for me
When I delete code from chadrc this is what I get:
That color for special character is not even included in the theme colors.
Did I added the theme in the correct place?
why are you adding theme there :/
please add themes in ~/.config/nvim/lua/themes only, dont touch plugin codebase
So I tried that as well but had the same result and I tried to move it to plugin to check, but it is the same in both cases.
i hope you are saving the files with nvim, or else nothing's gonna re-compile
did you change your nvim theme to leaf_dark?
Lol yeah, and yeah
Every color from the theme is applied except for that one.
remove the hl_override, the polish_hl wont work
Scenario one:
Scenario two:
Scenario three:
Scenario four:
why complicate it !! just give your theme file, i will show a video recording from scratch that its working here.
I get it that it is working for you but it is not working for me any suggestions on why? I really don't have any fancy config for neovim couple of plugins and thats it, so I am not sure why it is not working for me correctly and it does for you.
Here is the file but I trust that its working on your side you don't have to make a video for it leaf_dark.txt
Just to let you know everything started working today without hl_override in chadrc not sure why. Sorry for the troubles
all good :joy:
When creating a new theme in base46 project under themes folder I came across an issue with SpecialChar, the issue is that is not pulling the right color. Form the source code it should be using base_16.base0F color but its not.
I tried adding the changes to polish_hl like this
M.polish_hl = { SpecialChar = { fg = M.base_16.base0F }, }
and like thisM.polish_hl = { syntax = { SpecialChar = { fg = M.base_16.base0F }, } }
but with no effect.Can someone take a look and confim if I am doing everything correctly.
In the end I added in my chadrc file change
hl_override = { SpecialChar = { fg = "#D7B596" }, }
that did the jobThis is the code from the file I added