From 345dcba629c750c545b6f7b4dcae1b9d602d544f Mon Sep 17 00:00:00 2001 From: Luna Saphie Mittelbach Date: Thu, 18 Apr 2024 13:28:36 +0200 Subject: [PATCH] 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. --- src/nvim/os/nvim.manifest | 5 +++-- 1 file 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 @@ - - UTF-8 + + UTF-8 + true