diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2022-10-21 06:56:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-21 03:56:09 -0700 |
commit | 24c9561a68aa9b9cf8d8a503c5e85f63d7ebb543 (patch) | |
tree | 0bddb82b8f8216ab003e4ded5fcc6e71ee10c865 /scripts/vimpatch.lua | |
parent | a288b4f21423efb056061e4da3871a4247a7de79 (diff) | |
download | rneovim-24c9561a68aa9b9cf8d8a503c5e85f63d7ebb543.tar.gz rneovim-24c9561a68aa9b9cf8d8a503c5e85f63d7ebb543.tar.bz2 rneovim-24c9561a68aa9b9cf8d8a503c5e85f63d7ebb543.zip |
vim-patch: bump VIM_VERSION from 8.0 => 8.1 #20762
There are 6 remaining 8.0.x patches, tracked in:
https://github.com/neovim/neovim/issues/5431
Diffstat (limited to 'scripts/vimpatch.lua')
-rwxr-xr-x | scripts/vimpatch.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/vimpatch.lua b/scripts/vimpatch.lua index 11eb285462..836f672f6e 100755 --- a/scripts/vimpatch.lua +++ b/scripts/vimpatch.lua @@ -1,7 +1,7 @@ -- Updates version.c list of applied Vim patches. -- -- Usage: --- VIM_SOURCE_DIR=~/neovim/.vim-src/ nvim -i NONE -u NONE --headless +'luafile ./scripts/vimpatch.lua' +q +-- VIM_SOURCE_DIR=~/neovim/.vim-src/ nvim -V1 -es -i NONE +'luafile ./scripts/vimpatch.lua' +q local nvim = vim.api @@ -22,12 +22,13 @@ end -- Generates the lines to be inserted into the src/version.c -- `included_patches[]` definition. local function gen_version_c_lines() - -- Set of merged Vim 8.0.zzzz patch numbers. + -- Set of merged Vim 8.1.zzzz patch numbers. local merged_patch_numbers = {} local highest = 0 for _, n in ipairs(vimpatch_sh_list_numbers()) do + n = tonumber(n) if n then - merged_patch_numbers[tonumber(n)] = true + merged_patch_numbers[n] = true highest = math.max(highest, n) end end |