mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-10-30 22:54:07 +00:00 
			
		
		
		
	Add case from #1604 to VimL syntax-test source
This commit is contained in:
		
				
					committed by
					
						 David Peter
						David Peter
					
				
			
			
				
	
			
			
			
						parent
						
							cc6109a751
						
					
				
				
					commit
					171d215f91
				
			| @@ -69,6 +69,12 @@ | ||||
| [38;2;102;217;239mecho[0m[38;2;248;248;242m [0m[38;2;230;219;116m"Hello"[0m[38;2;248;248;242m [0m[38;2;249;38;114misnot[0m[38;2;248;248;242m [0m[38;2;230;219;116m"Hello2"[0m | ||||
| [38;2;102;217;239mecho[0m[38;2;248;248;242m [0m[38;2;230;219;116m"Hello"[0m[38;2;248;248;242m [0m[38;2;249;38;114m=~[0m[38;2;248;248;242m [0m[38;2;230;219;116m"Hello2"[0m | ||||
| [38;2;102;217;239mecho[0m[38;2;248;248;242m [0m[38;2;230;219;116m"Hello"[0m[38;2;248;248;242m [0m[38;2;249;38;114m!~[0m[38;2;248;248;242m [0m[38;2;230;219;116m"Hello2"[0m | ||||
| [38;2;102;217;239mecho[0m[38;2;248;248;242m [0m[38;2;230;219;116m"Hello"[0m[38;2;248;248;242m [0m[38;2;249;38;114m!~[0m[38;2;248;248;242m [0m[38;2;230;219;116m"Hello2"[0m | ||||
|  | ||||
| [38;2;102;217;239mecho[0m[38;2;248;248;242m [0m[38;2;230;219;116m"/This/should/not/be/a/regex"[0m | ||||
|  | ||||
| [38;2;117;113;94m" Error case from issue #1604 (https://github.com/sharkdp/bat/issues/1064)[0m | ||||
| [38;2;102;217;239mset[0m[38;2;248;248;242m runtimepath[0m[38;2;249;38;114m=~[0m[38;2;246;170;17m/foo/[0m[38;2;248;248;242mbar[0m | ||||
|  | ||||
| [38;2;102;217;239mlet[0m[38;2;248;248;242m [0m[38;2;255;255;255mg:dict[0m[38;2;248;248;242m = {}[0m | ||||
| [38;2;102;217;239mlet[0m[38;2;248;248;242m [0m[38;2;255;255;255mg:dict[0m[38;2;249;38;114m.[0m[38;2;248;248;242mitem = [[0m[38;2;230;219;116m'l1'[0m[38;2;248;248;242m, [0m[38;2;230;219;116m'l2'[0m[38;2;248;248;242m][0m | ||||
|   | ||||
| @@ -69,6 +69,12 @@ echo "Hello" is "Hello2" | ||||
| echo "Hello" isnot "Hello2" | ||||
| echo "Hello" =~ "Hello2" | ||||
| echo "Hello" !~ "Hello2" | ||||
| echo "Hello" !~ "Hello2" | ||||
|  | ||||
| echo "/This/should/not/be/a/regex" | ||||
|  | ||||
| " Error case from issue #1604 (https://github.com/sharkdp/bat/issues/1064) | ||||
| set runtimepath=~/foo/bar | ||||
|  | ||||
| let g:dict = {} | ||||
| let g:dict.item = ['l1', 'l2'] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user