Merge pull request #6486 from jamessan/vim8-patches

Bump Vim version to 8.0 and applied patches
This commit is contained in:
James McCoy
2017-07-14 06:49:59 -04:00
committed by GitHub
4 changed files with 575 additions and 2290 deletions

View File

@@ -310,7 +310,7 @@ list_vim_patches() {
list_vim_patches() {
get_vim_sources
printf "\nVim patches missing from Neovim:\n"
printf "\nVim patches missing from Neovim:\n"
# Get missing Vim commits
local vim_commits

File diff suppressed because it is too large Load Diff

View File

@@ -10,14 +10,14 @@ extern char* longVersion;
//
// Vim version number, name, etc. Patchlevel is defined in version.c.
//
#define VIM_VERSION_MAJOR 7
#define VIM_VERSION_MINOR 4
#define VIM_VERSION_MAJOR 8
#define VIM_VERSION_MINOR 0
#define VIM_VERSION_100 (VIM_VERSION_MAJOR * 100 + VIM_VERSION_MINOR)
// used for the runtime directory name
#define VIM_VERSION_NODOT "vim74"
#define VIM_VERSION_NODOT "vim80"
// swap file compatibility (max. length is 6 chars)
#define VIM_VERSION_SHORT "7.4"
#define VIM_VERSION_SHORT "8.0"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "version.h.generated.h"

View File

@@ -2076,13 +2076,14 @@ describe('In autoload/shada.vim', function()
end
it('works', function()
local version = nvim('get_vvar', 'version')
getbstrings_eq({{timestamp='current', type=1, value={
generator='shada.vim',
version=704,
version=version,
}}}, {})
getbstrings_eq({
{timestamp='current', type=1, value={
generator='shada.vim', version=704
generator='shada.vim', version=version
}},
{timestamp=0, type=1, value={generator='test'}}
}, {
@@ -2093,11 +2094,11 @@ describe('In autoload/shada.vim', function()
nvim('set_var', 'shada#add_own_header', 1)
getbstrings_eq({{timestamp='current', type=1, value={
generator='shada.vim',
version=704,
version=version,
}}}, {})
getbstrings_eq({
{timestamp='current', type=1, value={
generator='shada.vim', version=704
generator='shada.vim', version=version
}},
{timestamp=0, type=1, value={generator='test'}}
}, {