Shade.nvim icon indicating copy to clipboard operation
Shade.nvim copied to clipboard

Prevent shading of specific filetypes

Open andreadev-it opened this issue 2 years ago • 3 comments

Since this was a requested feature (by myself too!) I've decided to implement it. Right now, it adds a config option "exclude_filetypes" that I've briefly documented in the README. It's used like this:

require('shade').config({
    exclude_filetypes = { "neo-tree", ... }
})

I'm sorry if it's not the cleanest pull request ever, I've edited the README online, so there is an additional "merge" in there (also, I have nvim setup with 4 spaces indentation, so I needed to fix it in the last commit).

andreadev-it avatar Apr 26 '22 07:04 andreadev-it

Looks like this project won't be maintained anymore, switched to your fork until this pr is merged.

par4m avatar May 27 '22 16:05 par4m

Hello @par4m, yes, there is no problem if you want. Just wanted to warn you that, since this was just for a pull request, I won't be maintaining this fork either. In the end, I had to stop using this plugin for various little quirks that it caused. I'm sad about it, because this was a very useful functionality! If it works fine for you, then do it without worrying, I won't remove the repo until it's pulled (if it ever will) 👍🏼

andreadev-it avatar May 27 '22 18:05 andreadev-it

Thanks for the efforts, its working seamingly well but just one major thing it's missing is disabling the plugin entirely when in a disabled filetype window. e.g image image

It sucks that such a nice plugin isn't being maintained / no forks either.

par4m avatar May 28 '22 17:05 par4m