You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.
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 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, :CMake command will be available anywhere.
Sign up for freeto 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: