mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	Merge #22382 has('gui_running')
This commit is contained in:
		| @@ -3228,7 +3228,9 @@ static void f_has(typval_T *argvars, typval_T *rettv, EvalFuncData fptr) | ||||
|   } | ||||
|  | ||||
|   if (!n) { | ||||
|     if (STRNICMP(name, "patch", 5) == 0) { | ||||
|     if (STRNICMP(name, "gui_running", 11) == 0) { | ||||
|       n = ui_gui_attached(); | ||||
|     } else if (STRNICMP(name, "patch", 5) == 0) { | ||||
|       if (name[5] == '-' | ||||
|           && strlen(name) >= 11 | ||||
|           && ascii_isdigit(name[6]) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Justin M. Keyes
					Justin M. Keyes