How to enable plugin for specific *filename* #1067
-
I know I can set a plugin to only load on a keypress or based on a file type, but I use a plugin called lush to create colorschemes and I was wondering if there was a way to make it only load for my colorscheme files (so instead of loading it for all lua files, I would set it to run when "foo.lua" was opened). Is this possible? I read through the docs here and for lush but couldn't find anything like what I'm asking. Thanks in advance, and thanks for the awesome plugins. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hello @JetpackJackson, Perhaps my comment in issue #1040 is useful: |
Beta Was this translation helpful? Give feedback.
-
Perfect, that works great! Thank you! |
Beta Was this translation helpful? Give feedback.
Hello @JetpackJackson,
Perhaps my comment in issue #1040 is useful:
feature: Lazy load on file name