1
0
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:
Bram Moolenaar
2022-01-01 12:17:00 +00:00
parent 654b729c4c
commit b79ee0c299
4 changed files with 22 additions and 5 deletions

View File

@@ -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},