Mercurial > vim
comparison src/testdir/test_lua.vim @ 30310:029c59bf78f1 v9.0.0491
patch 9.0.0491: no good reason to build without the float feature
Commit: https://github.com/vim/vim/commit/73e28dcc6125f616cf1f2d56443d22428a79e434
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 17 21:08:33 2022 +0100
patch 9.0.0491: no good reason to build without the float feature
Problem: No good reason to build without the float feature.
Solution: Remove configure check for float and "#ifdef FEAT_FLOAT".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 17 Sep 2022 22:15:05 +0200 |
parents | e391590249a1 |
children | f08ed0738f7a |
comparison
equal
deleted
inserted
replaced
30309:4ba3d27b5357 | 30310:029c59bf78f1 |
---|---|
8 lua print("Not executed") | 8 lua print("Not executed") |
9 endif | 9 endif |
10 endfunc | 10 endfunc |
11 | 11 |
12 CheckFeature lua | 12 CheckFeature lua |
13 CheckFeature float | |
14 | 13 |
15 " Depending on the lua version, the error messages are different. | 14 " Depending on the lua version, the error messages are different. |
16 let [s:major, s:minor, s:patch] = luaeval('vim.lua_version')->split('\.')->map({-> str2nr(v:val)}) | 15 let [s:major, s:minor, s:patch] = luaeval('vim.lua_version')->split('\.')->map({-> str2nr(v:val)}) |
17 let s:lua_53_or_later = 0 | 16 let s:lua_53_or_later = 0 |
18 let s:lua_543 = 0 | 17 let s:lua_543 = 0 |