Help us understand the problem. What is going on with this article?

MSYS2+neovim+dein.vimで躓いた

More than 1 year has passed since last update.

msys2でneovim+dein.vimを使うときに躓いた点があったので備忘録のためにメモ。とりあえず自分の環境では下記で動いているよう。

環境

  • Windows 7 pro 64bit
  • msys2 64bit
  • neovim 0.2.1

エラーその1 jobstartで動かないものがある

※下記の追記での対処がより適切と思われる。
jobstartに値を渡すときに引数が文字列かつ空白ありの時にコマンド呼び出しに失敗しているよう。
dein.vim/autoload/dein/job.vim
のjobstartの引数を変更

job.vim
-let args = type(a:args) == type([]) ?
-          \ a:args : [&shell, &shellcmdflag, a:args]
+let args = type(a:args) == type([]) ?
+          \ a:args : split(a:args)

&shell、&shellcmdflagは残したほうが良いのかも・・

※2017/7/4追記

失敗する原因は
&shell = C:/msys64/usr/bin/bash
&shellcmdflag = /c
と、ちぐはぐな状態となっていたため。以下を追記してエラー回避するのが正解。

init.vim
set shellcmdflag=-c

エラーその2 rmdirが動かない

msys2に入っているrmdirを呼び出してしまうよう。windowsのものを使うよう変更

install.vim
-rmdir /S /Q ...
+cmd /c rmdir /S /Q ...
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした