How to use run_after
?
#124
-
Hi friends I am a big fan of Overseer. Thanks a lot for making this amazing plugin. Something I have trouble getting to work is the Here's an example: I also tried putting it in double brackets to make sure it is a list of task_names, that didn't help either. I think I may have just misunderstood the docs here but I can't really figure out how to do it. Any tips? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi! You have tripped over this exact TODO line The component editor doesn't yet support complex data types like maps. The most it can do is a list of strings, or list of ints. So the issue is that it's going to be looking for a task literally named To get this working you can either add the component programmatically in lua, or you can define a simple named task that does what you want and put just the name after the |
Beta Was this translation helpful? Give feedback.
Hi! You have tripped over this exact TODO line
overseer.nvim/lua/overseer/component/run_after.lua
Line 13 in 66c3e44
The component editor doesn't yet support complex data types like maps. The most it can do is a list of strings, or list of ints. So the issue is that it's going to be looking for a task literally named
'{"shell", cmd = "sleep 4"}'
, which it won't find.To get this working you can either add the component programmatically in lua, or you can define a simple named task that does what you want and put just the name after the
task_names:
field.