-
-
Notifications
You must be signed in to change notification settings - Fork 626
feat: add normal nc highlight group #705
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
Conversation
@kyazdani42 I'm getting this background color on the left side of nvim-tree window now; is there any way to sort this out |
should be fixed in 22e64cc (1.5.13) |
Thanks! linked |
@kyazdani42 how do I disable the dim? I tried using NvimTreeNormalNC's guibg as the same as NvimTreeNormal but didnt work :/ |
something like |
@siduck76 try this |
didnt work :c |
might be due to an ordering issue, highlights sometimes are being erased. try putting this in your colorscheme file |
Is it possible to completely disable this feature? It shows different SignColumn (to Normal) when active. They are the same when inactive. |
I tried it , didnt work out :/ |
This was introduced in nvim-tree/nvim-tree.lua#705. Following the hl groups fro this theme, I'm mapping both to the same color https://github.com/folke/tokyonight.nvim/blob/eede574f9ef57137e6d7e4bab37b09db636c5a56/lua/tokyonight/theme.lua#L49-L50
@siduck76
|
@smartding didnt work , NvimTreeNormalNC works |
a temporary solution otherwise if you cannot manage to change the colors would be to change the winhl value in the winopts. require'nvim-tree.view'.View.winopts.winhl = table.concat({
'EndOfBuffer:NvimTreeEndOfBuffer',
'Normal:NvimTreeNormal',
'CursorLine:NvimTreeCursorLine',
'VertSplit:NvimTreeVertSplit',
'StatusLine:NvimTreeStatusLine',
'StatusLineNC:NvimTreeStatuslineNC',
'SignColumn:NvimTreeSignColumn', -- just remove this line
'NormalNC:NvimTreeNormalNC', -- and this line
}, ',') EDIT: as its breaking a lot of people config i guess i'll just map those two to normal for the moment @dbarrosop you'll have to bind the normalNC yourself with |
Still seems to be broken with 64c31aa.
|
how is that possible ? if dimming is active, it'll just show as normal which should not affect the UI. Same for signcolumn. Could you make an issue with a small config with custom colors to demonstrate the behavior maybe ? I cannot see any of this with my colorscheme |
@kyazdani42 I actually solved by emptying the list:
It works and I don't require to set links or extra configuration. Assuming I don't want specific highlights for this plugin, is there any reason why I wouldn't do that? If that works and there is nothing wrong with it, maybe it could be an option you can pass to Thanks again for looking into this :) |
i'll extend the setup piece by piece, there are more interesting i want to do first (like finishing the new git integration, adding watchers to not rely on nvim events, rewriting the renderer to make it more customizable, making the initialization faster...) |
This was introduced in nvim-tree/nvim-tree.lua#705. Following the hl groups fro this theme, I'm mapping both to the same color https://github.com/folke/tokyonight.nvim/blob/eede574f9ef57137e6d7e4bab37b09db636c5a56/lua/tokyonight/theme.lua#L49-L50
This was introduced in nvim-tree/nvim-tree.lua#705. Following the hl groups fro this theme, I'm mapping both to the same color https://github.com/folke/tokyonight.nvim/blob/742f05410241cbcef1faaba90ae0428c53e5a791/lua/tokyonight/theme.lua#L49-L50
closes #704