Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能否添加脚本路径,支持通过task运行sh脚本或者py脚本等等 #7

Closed
ZhiyuanLck opened this issue Feb 16, 2020 · 4 comments

Comments

@ZhiyuanLck
Copy link

No description provided.

@skywind3000
Copy link
Owner

skywind3000 commented Feb 16, 2020

有一个相对于脚本路径的变量:

  • $(VIM_ININAME) :配置文件全路径
  • $(VIM_INIHOME) :配置文件所处目录

你使用这两个变量,即可找到和 ini 文件路径相关的脚本。然后再 command 字段中写清楚即可,另,可以有多个全局 tasks.ini ,你看主页文档 options 部分有提。

@ZhiyuanLck
Copy link
Author

好的,谢谢!

@ZhiyuanLck
Copy link
Author

AsyncTaskMacro里还没有更新这两个宏

@skywind3000
Copy link
Owner

因为不同任务来自不同配置文件,这两个值不同,没法写一个统一的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants