Git Product home page Git Product logo

Comments (11)

skywind3000 avatar skywind3000 commented on May 21, 2024

用的命令是什么?

from asynctasks.vim.

skywind3000 avatar skywind3000 commented on May 21, 2024

怎么定义的

from asynctasks.vim.

nmxiao avatar nmxiao commented on May 21, 2024

我自己写的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.

skywind3000 avatar skywind3000 commented on May 21, 2024

定位到了,neovim 在 windows 下面的问题,我传给 jobstart 的 args 是一个列表,列表的话 args 每个项目都应该是一个独立的参数,结果 nvim 它没做好,把一个 args[n] 的项目弄成了,vim没问题,linux下也没问题。我 escape 了都有问题。

from asynctasks.vim.

skywind3000 avatar skywind3000 commented on May 21, 2024

你查 ":h jobstart" 下面有一段 “NOTE: on Windows ...",实际上我按照它的做了,把包含空格的参数在 windows 下 quote 起来了,还是失败。vim 没问题,linux 下都没问题,我再看看。

from asynctasks.vim.

nmxiao avatar nmxiao commented on May 21, 2024

好的,我直觉应该是neovim的问题。以前用在vim下用asyncrun没啥问题。这个插件对我这种多种语言下的快速编译测试还是很有帮助的,多谢!

from asynctasks.vim.

skywind3000 avatar skywind3000 commented on May 21, 2024

可以了,已经修正,专门针对 neovim+windows 换了一种传参方式,麻烦试试。

from asynctasks.vim.

skywind3000 avatar skywind3000 commented on May 21, 2024

更新下 asyncrun.vim 即可,那边已经修正,

neomake 现在 nvim+windows 都有问题:

图片

现在 asyncrun 完美传参了:

图片

from asynctasks.vim.

nmxiao avatar nmxiao commented on May 21, 2024

quickfix下问题解决了。asynctask下用terminal好像还出现这个问题,terminal用的是cmd。

from asynctasks.vim.

skywind3000 avatar skywind3000 commented on May 21, 2024

一并解决了,完美传参了,这回,主要是 windows 下面用户名包含空格 + neovim 实在太少见。
麻烦帮确认下,更新 asyncrun.vim 即可

from asynctasks.vim.

nmxiao avatar nmxiao commented on May 21, 2024

搞定了,quickfix和terminal两种模式都OK,多谢!

from asynctasks.vim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.