This repository has been archived by the owner on Sep 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Support lazy loading with vim-plug #23
Labels
bug
Something isn't working
Comments
What do you mean under "it fails"? It should be loaded once you open any of the specified files. You can't unload it later. |
I can't lazy load it, need to let be enable with other filetypes e.g.: rust
…On Sun, Feb 13, 2022, 18:34 Hennadii Chernyshchyk ***@***.***> wrote:
What do you mean under "it fails"? It should be loaded once you open any
of the specified files. You can't unload it later.
—
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJGX4AK7FHYGMC4XRN5PWDU3APWXANCNFSM5OJV24WQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I don't understand the problem. Please, explain it more. |
I prefer not to have :CMake available to all possible file types, only the associated with C/C++, usually I do this with lazy loading (where I specify which file type would it be allowed). |
It's not possible. Commands can't be relative to the filetype. You can lazy load the plugin by filetype, but once it loaded by the specified filetype, |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug description
Hi, when trying to load it (using lazy load from vim-plug) with c/cpp/(c)make/qml files, it fails
Steps to reproduce
Plug 'Shatur/neovim-cmake', {'for' : ['cpp', 'c', 'make', 'cmake', 'qml']}
Expected behavior
Behaves nicely and only in the wanted files, now I have it everywhere :(
Screenshots
Environment
Additional context
The text was updated successfully, but these errors were encountered: