Mercurial > vim
comparison src/evalfunc.c @ 26873:be85735650f7 v8.2.3965
patch 8.2.3965: Vim9: no easy way to check if Vim9 script is supported
Commit: https://github.com/vim/vim/commit/b79ee0c299d786627784f7304ba84b80e78ece26
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 1 12:17:00 2022 +0000
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').
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 01 Jan 2022 13:30:03 +0100 |
parents | bce848ec8b1b |
children | 06a137af96f8 |
comparison
equal
deleted
inserted
replaced
26872:fdb37f03e58d | 26873:be85735650f7 |
---|---|
5927 1 | 5927 1 |
5928 #else | 5928 #else |
5929 0 | 5929 0 |
5930 #endif | 5930 #endif |
5931 }, | 5931 }, |
5932 {"vim9script", 1}, | |
5932 {"vimscript-1", 1}, | 5933 {"vimscript-1", 1}, |
5933 {"vimscript-2", 1}, | 5934 {"vimscript-2", 1}, |
5934 {"vimscript-3", 1}, | 5935 {"vimscript-3", 1}, |
5935 {"vimscript-4", 1}, | 5936 {"vimscript-4", 1}, |
5936 {"virtualedit", 1}, | 5937 {"virtualedit", 1}, |