From 7c43f1128d7deb9ecbe5bf747b441c7afcb736ab Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Fri, 7 Feb 2025 06:24:17 +0800 Subject: vim-patch:9.1.1081: has('bsd') is true for GNU/Hurd Problem: has('bsd') is true for GNU/Hurd Solution: exclude GNU/Hurd from BSD feature flag (Zhaoming Luo) GNU/Hurd, like Mac OS X, is a BSD-based system. It should exclude has('bsd') feature just like what Mac OS X does. The __GNU__ pre-defined macro indicates it's compiled for GNU/Hurd. closes: vim/vim#16580 https://github.com/vim/vim/commit/a41dfcd55b1744b44a47d2fc3feb5d5f6207a556 Co-authored-by: Zhaoming Luo --- runtime/lua/vim/_meta/vimfn.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/lua/vim/_meta/vimfn.lua') diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index 098c0e907a..c67f303d82 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -4148,6 +4148,7 @@ function vim.fn.globpath(path, expr, nosuf, list, allinks) end --- fname_case Case in file names matters (for Darwin and MS-Windows --- this is not present). --- gui_running Nvim has a GUI. +--- hurd GNU/Hurd system. --- iconv Can use |iconv()| for conversion. --- linux Linux system. --- mac MacOS system. -- cgit