diff options
author | Luna Saphie Mittelbach <lunarlambda@gmail.com> | 2024-04-18 13:28:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-18 04:28:36 -0700 |
commit | 345dcba629c750c545b6f7b4dcae1b9d602d544f (patch) | |
tree | 10636232031a1f8c88a5c3778aeb8c4cecd8fe9e | |
parent | e1ca7a7bfc954fae6991fc86d5da1a4eda864903 (diff) | |
download | rneovim-345dcba629c750c545b6f7b4dcae1b9d602d544f.tar.gz rneovim-345dcba629c750c545b6f7b4dcae1b9d602d544f.tar.bz2 rneovim-345dcba629c750c545b6f7b4dcae1b9d602d544f.zip |
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.
-rw-r--r-- | src/nvim/os/nvim.manifest | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/os/nvim.manifest b/src/nvim/os/nvim.manifest index 571b7f4580..f6bd20f66b 100644 --- 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> |