mirror of
				https://github.com/vim/vim.git
				synced 2025-10-30 09:47:20 -04:00 
			
		
		
		
	runtime(doc): Fix notation of "Vim script" and "Vim9 script"
closes: #17213 Signed-off-by: Hirohito Higashi <h.east.727@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
		
				
					committed by
					
						 Christian Brabandt
						Christian Brabandt
					
				
			
			
				
	
			
			
			
						parent
						
							411ae580a9
						
					
				
				
					commit
					fbe4a8f5c0
				
			| @@ -159,7 +159,7 @@ def Test_cmdmod_execute() | ||||
|   v9.CheckScriptSuccess(lines) | ||||
|   delfunc g:TheFunc | ||||
|  | ||||
|   # vim9cmd execute(cmd) executes code in vim9 script context | ||||
|   # vim9cmd execute(cmd) executes code in Vim9 script context | ||||
|   lines =<< trim END | ||||
|     vim9cmd execute("g:vim9executetest = 'bar'") | ||||
|     call assert_equal('bar', g:vim9executetest) | ||||
| @@ -176,7 +176,7 @@ def Test_cmdmod_execute() | ||||
|   unlet g:vim9executetest1 | ||||
|   unlet g:vim9executetest2 | ||||
|  | ||||
|   # legacy call execute(cmd) executes code in vim script context | ||||
|   # legacy call execute(cmd) executes code in Vim script context | ||||
|   lines =<< trim END | ||||
|     vim9script | ||||
|     legacy call execute("let g:vim9executetest = 'bar'") | ||||
|   | ||||
		Reference in New Issue
	
	Block a user