mirror of
https://github.com/britzl/monarch.git
synced 2025-11-27 03:10:54 +01:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
03baa3eeb3 |
@@ -68,7 +68,7 @@ function M.get_commands()
|
|||||||
},
|
},
|
||||||
active = function(opts)
|
active = function(opts)
|
||||||
local path = editor.get(opts.selection, "path")
|
local path = editor.get(opts.selection, "path")
|
||||||
return ends_with(path, ".gui") or ends_with(path, ".collection") or ends_with(path, ".gui_script")
|
return ends_with(path, ".gui")
|
||||||
end,
|
end,
|
||||||
run = function(opts)
|
run = function(opts)
|
||||||
create_files(opts.selection)
|
create_files(opts.selection)
|
||||||
|
|||||||
Reference in New Issue
Block a user