desdic / greyjoy.nvim

Launcher for Neovim
MIT License
27 stars 3 forks source link

support variables in make #34

Closed mosheavni closed 1 month ago

mosheavni commented 1 month ago

sometimes you want to run make and add variable. example:

make something version=latest

is it possible to add this feature so we could pass variables to make?

desdic commented 1 month ago

Its currently not possible to edit the list since its using vim.ui.select but I could make a menu to edit choices ?

desdic commented 1 month ago

@mosheavni I have made a PR https://github.com/desdic/greyjoy.nvim/pull/35 that allows an edit of commands. Could you check out out to see if this is what you need/want? the branch is called 20240729edit . It enables Greyjoy edit to override with any option you would like

desdic commented 1 month ago

Turns out this is quite buggy since its doesn't allow a plugin or group so I'll redo the PR and maybe create a new command for it

desdic commented 1 month ago

:Greyedit will enable edit before a run and then be saved so :Greyjoy will be able to run it next time

desdic commented 1 month ago

Its released now