aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuna Saphie Mittelbach <lunarlambda@gmail.com>2024-04-18 13:28:36 +0200
committerGitHub <noreply@github.com>2024-04-18 04:28:36 -0700
commit345dcba629c750c545b6f7b4dcae1b9d602d544f (patch)
tree10636232031a1f8c88a5c3778aeb8c4cecd8fe9e
parente1ca7a7bfc954fae6991fc86d5da1a4eda864903 (diff)
downloadrneovim-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.manifest5
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>