-
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 looks for and stores configurations in Windows locations instead of Unix locations #17855
Comments
There are different environments. What you are saying is only true for the MSYS environment. The UCRT64 environment you are talking about is for regular Windows applications. This is not a bug. |
We should probably document somewhere what users have to expect in such cases. |
This is not specific to |
you probably look for msys neovim, not mingw/ucrt these are meant to be used outside cygwin/msys, in cmd.exe, powershell.exe, not in the msys enviroment, for the msys enviroment, you have to use the vim version without any prefix, aka |
This exists now: https://www.msys2.org/docs/configuration/ |
You can workaround this by explictly specifying
|
I've added some more text for users who want to hack against it. Please review. |
Description / Steps to reproduce the issue
neovim
has an official Windows version available, which uses Windows-style paths and locations to look for and store configuration files (e.g.,%localappdata%\nvim-data\
). As expected, on Linux,neovim
uses Unix-style paths and locations instead (e.g.,$XDG_CONFIG_HOME/nvim/
).In general, I expect MSYS2 / mingw to be a compatibility shim to allow traditionally native Unix utilities to run on Windows. This includes paths, but not locations. Doing so would cleanly separate documentation/tutorials/configurations for "native" Windows apps from *nix apps (which I consider MSYS2 / mingw apps to be, despite using native Windows APIs).
Tested with
mingw-w64-ucrt-x86_64-neovim
, but probably affects other environments too.Expected behavior
I expect
mingw-w64-ucrt-x86_64-neovim
to use Unix locations to store and look for configuration files (e.g.,$XDG_CONFIG_HOME/nvim
).Actual behavior
mingw-w64-ucrt-x86_64-neovim
uses Windows locations to store and look for configuration files (e.g.,%localappdata%\nvim-data
).Verification
Windows Version
MSYS_NT-10.0-22621
MINGW environments affected
Are you willing to submit a PR?
No response
The text was updated successfully, but these errors were encountered: