Shade.nvim
Shade.nvim copied to clipboard
An Nvim lua plugin that dims your inactive windows
https://github.com/sunjon/Shade.nvim/blob/master/lua/shade.lua#L259 I think nvim already has autocomands, no need to keep old vimscript calls: ``` -- setup autocommands -- TODO: set a precalculated winid api.nvim_exec([[ augroup shade au! au WinEnter,VimEnter...
Without this change this would happen (the last line is not shaded): ![image](https://user-images.githubusercontent.com/34583604/196020782-bc59853a-ca5e-4dcc-ba62-6b9b17dc3f34.png)
https://github.com/sunjon/Shade.nvim/blob/4286b5abc47d62d0c9ffb22a4f388b7bf2ac2461/lua/shade.lua#L416-L426 Please remove `print("off")` and `print("on")`
WHen i use shade and treesitter context, the second don't work.. WIth shade: ![image](https://user-images.githubusercontent.com/80107873/193177807-5e516e0f-ac6c-4a1a-9307-8e954a712cce.png) Whitout shade ![image](https://user-images.githubusercontent.com/80107873/193177935-91963405-2811-45f7-be6c-0d25574721fc.png)