-
Notifications
You must be signed in to change notification settings - Fork 1
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
[FR] Colorscheme per project #179
Comments
hi @G0V1NDS , If let's remove the Will that satisfy your use case? |
If we maintain previous colorscheme then it should work. As of now
|
yeah, for now it's a must, I will submit a PR to make it work. |
If we remove fallback colorscheme then what will be default colorscheme for filetypes which are not present in mapping? |
Hi, @G0V1NDS , In #180 , I make 'fallback' optional, this plugin will do nothing if the filetype is not mapped to any colorschemes. And I also add the Come back to your question:
It will depends the first buffer's filetype when you open nvim. If it's an empty filetype (e.g. For example for me, I'm always open nvim on a workspace (directory), and I'm always auto-start the |
Thanks for quick update, making fallback optional solved my problem. |
I tried colorscheme by file type using
filetype
timing, I liked the idea of configuring color for each filetype initially but later when observed that, for each new filetypefallback
colorscheme is applied. It causes constant switch between colorschemes.For example, In my regular workflow I use plugins like
fzf.lua
andlf.nvim
. Whenever I openfzf
orlf
buffer, it uses fallback colorscheme. Sometimes after closing the sub buffers, parent buffer doesn't even use its defined colorscheme as well.I want these sub buffers to follow the same colorschemes as the parent buffer had but I didn't find any option to configure that.
I think an option to configure the colorscheme per project path can solve this. This will be helpful for people like me where we usually have majority of files of same filetype in a directory.
The text was updated successfully, but these errors were encountered: