commit 345dcba629c750c545b6f7b4dcae1b9d602d544f
parent e1ca7a7bfc954fae6991fc86d5da1a4eda864903
Author: Luna Saphie Mittelbach <lunarlambda@gmail.com>
Date: Thu, 18 Apr 2024 13:28:36 +0200
build(windows): set longPathAware in manifest #28389
ref https://github.com/neovim/neovim/issues/28384
Allows Windows file APIs (and anything that uses them) to bypass the 260-character `MAX_PATH` limitation on Windows 10 1607 or later.
NOTE: This change by itself does not change the behaviour of running Neovim. The system must also have the Windows registry key `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabled` set to a `REG_DWORD` with value 1.
See https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=powershell#enable-long-paths-in-windows-10-version-1607-and-later for more information.
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/nvim/os/nvim.manifest b/src/nvim/os/nvim.manifest
@@ -18,8 +18,9 @@
</application>
</compatibility>
<asmv3:application>
- <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2019/WindowsSettings">
- <activeCodePage>UTF-8</activeCodePage>
+ <asmv3:windowsSettings>
+ <activeCodePage xmlns="http://schemas.microsoft.com/SMI/2019/WindowsSettings">UTF-8</activeCodePage>
+ <longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
</asmv3:windowsSettings>
</asmv3:application>
</assembly>