-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Neovim is not recognized as a unix app #22845
Comments
There are workarounds for each case:
vim.o.shell = 'bash' -- or in vimrc: set shell=bash
vim.o.shellcmdflag = '-c' -- set shellcmdflag=-c
vim.o.shellxquote = '' -- set shellxquote=
vim.o.shellquote = '' -- set shellquote=
vim.o.shelltemp = false -- set noshelltemp
-- or
vim.o.shell = 'cmd /s /c bash'
vim.o.shellcmdflag = '-c'
vim.o.shellxquote = ''
vim.o.shellquote = ''
vim.o.shelltemp = true |
that's because neovim is not a unix app, but a windows one, there is no package neovim, there is mingw-w64-x86_64-neovim, there is vim, which is a msys2/cygwin true unix. |
I was using vim up until now, but decided to switch to neovim for performance benefits. Could there be a cygwin version of neovim? |
I accept your PR https://github.com/Kreijstal/msys2-ur, since it will never be accepted on msys2 |
Description / Steps to reproduce the issue
MANPATH=C:\msys64\mingw64\local\man;...
which breaks theman
plugin. This results in:Man man
reporting"no manual entry for man"
'shell'
,'shellxquote'
,'shellcmdflag'
options are incompatible with each other:'shelltemp'
is set and an external command:!cmd
requires a temp file, the error"E485: Can't read file"
occurs.Expected behavior
MANPATH
stays unix style.has('unix')
and sets the flags properlyActual behavior
See description.
Verification
Windows Version
MINGW64_NT-10.0-26100
MINGW environments affected
Are you willing to submit a PR?
No response
The text was updated successfully, but these errors were encountered: