forked from aniani/vim
patch 8.2.3965: Vim9: no easy way to check if Vim9 script is supported
Problem: Vim9: no easy way to check if Vim9 script is supported.
Solution: Add has('vim9script').
This commit is contained in:
@@ -5929,6 +5929,7 @@ f_has(typval_T *argvars, typval_T *rettv)
|
||||
0
|
||||
#endif
|
||||
},
|
||||
{"vim9script", 1},
|
||||
{"vimscript-1", 1},
|
||||
{"vimscript-2", 1},
|
||||
{"vimscript-3", 1},
|
||||
|
||||
Reference in New Issue
Block a user