mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	Merge pull request #6486 from jamessan/vim8-patches
Bump Vim version to 8.0 and applied patches
This commit is contained in:
		| @@ -310,7 +310,7 @@ list_vim_patches() { | |||||||
| list_vim_patches() { | list_vim_patches() { | ||||||
|   get_vim_sources |   get_vim_sources | ||||||
|  |  | ||||||
|   printf "\nVim patches missing from Neovim:\n" |   printf "\nVim patches missing from Neovim:\n" | ||||||
|  |  | ||||||
|   # Get missing Vim commits |   # Get missing Vim commits | ||||||
|   local vim_commits |   local vim_commits | ||||||
|   | |||||||
							
								
								
									
										2846
									
								
								src/nvim/version.c
									
									
									
									
									
								
							
							
						
						
									
										2846
									
								
								src/nvim/version.c
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -10,14 +10,14 @@ extern char* longVersion; | |||||||
| // | // | ||||||
| // Vim version number, name, etc. Patchlevel is defined in version.c. | // Vim version number, name, etc. Patchlevel is defined in version.c. | ||||||
| // | // | ||||||
| #define VIM_VERSION_MAJOR                7 | #define VIM_VERSION_MAJOR                8 | ||||||
| #define VIM_VERSION_MINOR                4 | #define VIM_VERSION_MINOR                0 | ||||||
| #define VIM_VERSION_100     (VIM_VERSION_MAJOR * 100 + VIM_VERSION_MINOR) | #define VIM_VERSION_100     (VIM_VERSION_MAJOR * 100 + VIM_VERSION_MINOR) | ||||||
|  |  | ||||||
| // used for the runtime directory name | // used for the runtime directory name | ||||||
| #define VIM_VERSION_NODOT       "vim74" | #define VIM_VERSION_NODOT       "vim80" | ||||||
| // swap file compatibility (max. length is 6 chars) | // swap file compatibility (max. length is 6 chars) | ||||||
| #define VIM_VERSION_SHORT       "7.4" | #define VIM_VERSION_SHORT       "8.0" | ||||||
|  |  | ||||||
| #ifdef INCLUDE_GENERATED_DECLARATIONS | #ifdef INCLUDE_GENERATED_DECLARATIONS | ||||||
| # include "version.h.generated.h" | # include "version.h.generated.h" | ||||||
|   | |||||||
| @@ -2076,13 +2076,14 @@ describe('In autoload/shada.vim', function() | |||||||
|     end |     end | ||||||
|  |  | ||||||
|     it('works', function() |     it('works', function() | ||||||
|  |       local version = nvim('get_vvar', 'version') | ||||||
|       getbstrings_eq({{timestamp='current', type=1, value={ |       getbstrings_eq({{timestamp='current', type=1, value={ | ||||||
|         generator='shada.vim', |         generator='shada.vim', | ||||||
|         version=704, |         version=version, | ||||||
|       }}}, {}) |       }}}, {}) | ||||||
|       getbstrings_eq({ |       getbstrings_eq({ | ||||||
|         {timestamp='current', type=1, value={ |         {timestamp='current', type=1, value={ | ||||||
|           generator='shada.vim', version=704 |           generator='shada.vim', version=version | ||||||
|         }}, |         }}, | ||||||
|         {timestamp=0, type=1, value={generator='test'}} |         {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) |       nvim('set_var', 'shada#add_own_header', 1) | ||||||
|       getbstrings_eq({{timestamp='current', type=1, value={ |       getbstrings_eq({{timestamp='current', type=1, value={ | ||||||
|         generator='shada.vim', |         generator='shada.vim', | ||||||
|         version=704, |         version=version, | ||||||
|       }}}, {}) |       }}}, {}) | ||||||
|       getbstrings_eq({ |       getbstrings_eq({ | ||||||
|         {timestamp='current', type=1, value={ |         {timestamp='current', type=1, value={ | ||||||
|           generator='shada.vim', version=704 |           generator='shada.vim', version=version | ||||||
|         }}, |         }}, | ||||||
|         {timestamp=0, type=1, value={generator='test'}} |         {timestamp=0, type=1, value={generator='test'}} | ||||||
|       }, { |       }, { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 James McCoy
					James McCoy