windows上のNeovimにQFixHowmを導入したところ,カーソル位置のURIを<ENTER>で開けなかったので,実施した対処をメモしておく.
環境
バージョン情報など | |
---|---|
OS | Windows 10 Education 1903 |
Neovim | Neovim v0.4.3 |
QFixHowm | QFixHowm Ver.3 |
対処
qfixhowm-mastar/autoload/openuri.vimの中に以下の記述を加えた.
* 番号の前に+がついた行が追加箇所
...
125 "カーソル位置のファイルを開くコマンド"
126 if !exists('g:openuri_cmd')
127 if has('mac')
128 let g:openuri_cmd = "call system('open %s')"
+129 elseif has('win64')
+130 let g:openuri_cmd = "call system('start %s')"
131 elseif has('unix')
...
おわりに
Windows 上のNeovim+QFixHowmでカーソル位置のURIが開けないときの対処を示した.もしかすると,こんなことしなくても動くのかもしれない..