You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As such environment variables are automatically converted to Windows style. In particular MANPATH=C:\msys64\mingw64\local\man;... which breaks the man plugin. This results in :Man man reporting "no manual entry for man"
Default values for 'shell', 'shellxquote', 'shellcmdflag' options are incompatible with each other:
shell='C:\msys64\usr\bin\bash.exe'
shellxquote='"'
shellcmdflag='/s /c'# these are cmd.exe flags
'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.
Neovim recognizes has('unix') and sets the flags properly
and 3. This case is related to #16301. In init.lua (or vimrc):
vim.o.shell='bash' -- or in vimrc: set shell=bashvim.o.shellcmdflag='-c' -- set shellcmdflag=-cvim.o.shellxquote='' -- set shellxquote=vim.o.shellquote='' -- set shellquote=vim.o.shelltemp=false-- set noshelltemp-- orvim.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.
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: