asynctasks.vim icon indicating copy to clipboard operation
asynctasks.vim copied to clipboard

不给asyncrun_rootmarks设置个默认值吗?

Open cnjhb opened this issue 3 years ago • 7 comments

大部分人的rootmarks都是差不多的吧

cnjhb avatar Oct 28 '22 11:10 cnjhb

它有默认值的。

skywind3000 avatar Oct 28 '22 13:10 skywind3000

它有默认值的。

请问在哪里才能找到呢?我用echo尝试过了。

cnjhb avatar Oct 29 '22 03:10 cnjhb

https://github.com/skywind3000/asyncrun.vim/blob/master/plugin/asyncrun.vim#L1195

skywind3000 avatar Oct 29 '22 04:10 skywind3000

https://github.com/skywind3000/asyncrun.vim/wiki/Project-Root

skywind3000 avatar Oct 29 '22 04:10 skywind3000

https://github.com/skywind3000/asyncrun.vim/wiki/Project-Root

谢谢林总

cnjhb avatar Nov 01 '22 01:11 cnjhb

希望能新增一个配置,选择从工作目录查找rootmark, 还是从当前文件路径开始查找rootmark开始。 因为如果我当前编辑到文件是git submodule 目录到文件,那么执行 AsyncTaskEdit 时候总给我在子模块目录里面创建 .tasks。 实际上我希望在当前工作 目录下创建 .tasks

MaiLunJiye avatar Apr 13 '23 02:04 MaiLunJiye

你可以自己编辑 .tasks 啊,不需要用 AsyncTaskEdit,只要父目录里找得到 .tasks 就能工作了,不一定要在 project root 那一级。

skywind3000 avatar Apr 13 '23 03:04 skywind3000