mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
refactor(f_has): remove wrong comment (#21561)
Only one of "fork" and "system" should be defined. Also change the line above "win32" to match Vim.
This commit is contained in:
parent
d215dae0e0
commit
bf459641a8
@ -3036,7 +3036,7 @@ static void f_has(typval_T *argvars, typval_T *rettv, EvalFuncData fptr)
|
||||
#ifdef UNIX
|
||||
"unix",
|
||||
#endif
|
||||
#if defined(MSWIN)
|
||||
#ifdef MSWIN
|
||||
"win32",
|
||||
#endif
|
||||
#ifdef _WIN64
|
||||
@ -3127,7 +3127,7 @@ static void f_has(typval_T *argvars, typval_T *rettv, EvalFuncData fptr)
|
||||
"spell",
|
||||
"syntax",
|
||||
#if !defined(UNIX)
|
||||
"system", // TODO(SplinterOfChaos): This IS defined for UNIX!
|
||||
"system",
|
||||
#endif
|
||||
"tablineat",
|
||||
"tag_binary",
|
||||
|
Loading…
Reference in New Issue
Block a user