plugin feature flag

This commit is contained in:
Fernando Herrera
2021-11-02 20:56:00 +00:00
parent dfb846dec6
commit 12eed1f98a
11 changed files with 34 additions and 44 deletions

View File

@ -73,10 +73,8 @@ pub fn create_default_context() -> EngineState {
Mv,
ParEach,
Ps,
Register,
Range,
Rm,
RunPlugin,
Select,
Size,
Split,
@ -94,6 +92,9 @@ pub fn create_default_context() -> EngineState {
Zip
);
#[cfg(feature = "plugin")]
bind_command!(Register);
// This is a WIP proof of concept
bind_command!(ListGitBranches, Git, GitCheckout, Source);