Comments (11)
用的命令是什么?
from asynctasks.vim.
怎么定义的
from asynctasks.vim.
我自己写的bat,里面的具体内容为
@echo off
@cd /d %~dp1
call "C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\bin\compilervars.bat" intel64
icl %1
from asynctasks.vim.
定位到了,neovim 在 windows 下面的问题,我传给 jobstart 的 args 是一个列表,列表的话 args 每个项目都应该是一个独立的参数,结果 nvim 它没做好,把一个 args[n] 的项目弄成了,vim没问题,linux下也没问题。我 escape 了都有问题。
from asynctasks.vim.
你查 ":h jobstart" 下面有一段 “NOTE: on Windows ...",实际上我按照它的做了,把包含空格的参数在 windows 下 quote 起来了,还是失败。vim 没问题,linux 下都没问题,我再看看。
from asynctasks.vim.
好的,我直觉应该是neovim的问题。以前用在vim下用asyncrun没啥问题。这个插件对我这种多种语言下的快速编译测试还是很有帮助的,多谢!
from asynctasks.vim.
可以了,已经修正,专门针对 neovim+windows 换了一种传参方式,麻烦试试。
from asynctasks.vim.
更新下 asyncrun.vim 即可,那边已经修正,
neomake 现在 nvim+windows 都有问题:
现在 asyncrun 完美传参了:
from asynctasks.vim.
quickfix下问题解决了。asynctask下用terminal好像还出现这个问题,terminal用的是cmd。
from asynctasks.vim.
一并解决了,完美传参了,这回,主要是 windows 下面用户名包含空格 + neovim 实在太少见。
麻烦帮确认下,更新 asyncrun.vim 即可
from asynctasks.vim.
搞定了,quickfix和terminal两种模式都OK,多谢!
from asynctasks.vim.
Related Issues (20)
- Multiline command HOT 2
- Macro variables referenced in the [+] section are not expanded when running tasks right in shell HOT 2
- 能支持在command中运行vim命令吗? HOT 1
- Readme和wiki不一致 HOT 2
- 设置python trace back 的errorformat无效,并且python默认的自定义compiler失效 HOT 3
- How to check if the task was successful? HOT 5
- Run watch mode tasks?
- tasks.ini里 pos=xxx 有效 但AsyncTask -pos=xxx 不生效 HOT 2
- 命令中有大括号的参数不生效 HOT 1
- 任务具有生命周期次序,或者可以调用其他任务 HOT 1
- Expose last_task as global variable HOT 3
- 建议考虑兼容 vscode 的 task.json HOT 1
- hi, the default shell(dash) of Ubuntu does not support `(` in expressions. HOT 6
- [Feature] Command Line 中使用asynctask设置的default值不能修改也不显示。
- [feature] 添加用户自定义宏支持 HOT 1
- [Suggestion] fzf-lua example for wiki HOT 5
- toggleterm终端没法复用 HOT 6
- 诸如 VIM_FILEPATH 在 neovim 下的支持问题 HOT 3
- 请教 interactive shell 问题 HOT 1
- 不给asyncrun_rootmarks设置个默认值吗? HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asynctasks.vim.