mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-11-04 09:01:56 +00:00 
			
		
		
		
	Merge pull request #3368 from forkeith/fix_missing_assets
Replace missing asset submodules
This commit is contained in:
		
							
								
								
									
										8
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							@@ -113,9 +113,6 @@
 | 
			
		||||
[submodule "assets/syntaxes/DotENV"]
 | 
			
		||||
	path = assets/syntaxes/02_Extra/DotENV
 | 
			
		||||
	url = https://github.com/zaynali53/DotENV
 | 
			
		||||
[submodule "assets/syntaxes/hosts"]
 | 
			
		||||
	path = assets/syntaxes/02_Extra/hosts
 | 
			
		||||
	url = https://github.com/brandonwamboldt/sublime-hosts
 | 
			
		||||
[submodule "assets/syntaxes/ssh-config"]
 | 
			
		||||
	path = assets/syntaxes/02_Extra/ssh-config
 | 
			
		||||
	url = https://github.com/robballou/sublimetext-sshconfig.git
 | 
			
		||||
@@ -177,7 +174,7 @@
 | 
			
		||||
	url = https://github.com/euler0/sublime-glsl
 | 
			
		||||
[submodule "assets/syntaxes/02_Extra/Nginx"]
 | 
			
		||||
	path = assets/syntaxes/02_Extra/Nginx
 | 
			
		||||
	url = https://github.com/brandonwamboldt/sublime-nginx
 | 
			
		||||
	url = https://github.com/SublimeText/nginx
 | 
			
		||||
[submodule "assets/syntaxes/02_Extra/Apache"]
 | 
			
		||||
	path = assets/syntaxes/02_Extra/Apache
 | 
			
		||||
	url = https://github.com/colinta/ApacheConf.tmLanguage
 | 
			
		||||
@@ -278,3 +275,6 @@
 | 
			
		||||
[submodule "assets/syntaxes/02_Extra/SmartVHDL"]
 | 
			
		||||
	path = assets/syntaxes/02_Extra/SmartVHDL
 | 
			
		||||
	url = https://github.com/TheClams/SmartVHDL
 | 
			
		||||
[submodule "assets/syntaxes/02_Extra/hosts"]
 | 
			
		||||
	path = assets/syntaxes/02_Extra/hosts
 | 
			
		||||
	url = https://github.com/tijn/hosts.tmLanguage
 | 
			
		||||
 
 | 
			
		||||
@@ -48,6 +48,7 @@
 | 
			
		||||
- Add syntax mapping for certbot certificate configuration #3338 (@cyqsimon)
 | 
			
		||||
- Update Lean syntax from Lean 3 to Lean 4 #3322 (@YDX-2147483647)
 | 
			
		||||
- Map `.flatpakref` and `.flatpakrepo` files to INI syntax #3353 (@Ferenc-)
 | 
			
		||||
- Update hosts syntax #3368 (@keith-hall)
 | 
			
		||||
 | 
			
		||||
## Themes
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										23
									
								
								assets/syntaxes/02_Extra/Hosts.sublime-syntax
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										23
									
								
								assets/syntaxes/02_Extra/Hosts.sublime-syntax
									
									
									
									
										vendored
									
									
								
							@@ -1,23 +0,0 @@
 | 
			
		||||
%YAML 1.2
 | 
			
		||||
---
 | 
			
		||||
# http://www.sublimetext.com/docs/3/syntax.html
 | 
			
		||||
name: hosts
 | 
			
		||||
file_extensions:
 | 
			
		||||
  - hosts
 | 
			
		||||
scope: source.hosts
 | 
			
		||||
 | 
			
		||||
contexts:
 | 
			
		||||
  main:
 | 
			
		||||
    - scope: comment.line.number-sign
 | 
			
		||||
      match: \#.*
 | 
			
		||||
      comment: comment
 | 
			
		||||
 | 
			
		||||
    - match: ^\s*([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}|[0-9a-f:]+)
 | 
			
		||||
      comment: ipaddress
 | 
			
		||||
      scope: constant.numeric.ipaddress
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    - match: \s(localhost|ip6-loopback|ip6-localhost|ip6-localnet|ip6-mcastprefix|ip6-allnodes|ip6-allrouters|ip6-allhosts|broadcasthost)\b
 | 
			
		||||
      scope: keyword.host.predefined}
 | 
			
		||||
      comment: prefdfined
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2
									
								
								assets/syntaxes/02_Extra/hosts
									
									
									
									
										vendored
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								assets/syntaxes/02_Extra/hosts
									
									
									
									
										vendored
									
									
								
							 Submodule assets/syntaxes/02_Extra/hosts updated: 21250a7117...60ed92c472
									
								
							
							
								
								
									
										12
									
								
								tests/syntax-tests/highlighted/Hosts/hosts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								tests/syntax-tests/highlighted/Hosts/hosts
									
									
									
									
										vendored
									
									
								
							@@ -1,8 +1,8 @@
 | 
			
		||||
[38;2;117;113;94m#this is a comment in the hosts file[0m
 | 
			
		||||
[38;2;190;132;255m127.0.0.1[0m[38;2;248;248;242m           [0m[38;2;249;38;114m localhost[0m
 | 
			
		||||
[38;2;117;113;94m#[0m[38;2;117;113;94mthis is a comment in the hosts file[0m
 | 
			
		||||
[38;2;190;132;255m127.0.0.1[0m[38;2;248;248;242m            [0m[38;2;230;219;116mlocalhost[0m
 | 
			
		||||
 | 
			
		||||
[38;2;190;132;255m192.168.0.1[0m[38;2;248;248;242m          sample.test             [0m[38;2;117;113;94m#a comment[0m
 | 
			
		||||
[38;2;190;132;255m192.160.0.200[0m[38;2;248;248;242m        try.sample.test try     [0m[38;2;117;113;94m#another comment[0m
 | 
			
		||||
[38;2;190;132;255m216.58.223.238[0m[38;2;248;248;242m       google.com[0m
 | 
			
		||||
[38;2;102;217;239m192.168.0.1[0m[38;2;248;248;242m          [0m[38;2;230;219;116msample[0m[38;2;230;219;116m.[0m[38;2;230;219;116mtest[0m[38;2;248;248;242m             [0m[38;2;117;113;94m#[0m[38;2;117;113;94ma comment[0m
 | 
			
		||||
[38;2;190;132;255m192.160.0.200[0m[38;2;248;248;242m        [0m[38;2;230;219;116mtry[0m[38;2;230;219;116m.[0m[38;2;230;219;116msample[0m[38;2;230;219;116m.[0m[38;2;230;219;116mtest[0m[38;2;248;248;242m [0m[38;2;230;219;116mtry[0m[38;2;248;248;242m     [0m[38;2;117;113;94m#[0m[38;2;117;113;94manother comment[0m
 | 
			
		||||
[38;2;190;132;255m216.58.223.238[0m[38;2;248;248;242m       [0m[38;2;230;219;116mgoogle[0m[38;2;230;219;116m.[0m[38;2;230;219;116mcom[0m
 | 
			
		||||
 | 
			
		||||
[38;2;190;132;255m::1[0m[38;2;249;38;114m localhost[0m[38;2;248;248;242m.try[0m[38;2;249;38;114m ip6-localhost[0m
 | 
			
		||||
[38;2;190;132;255m::1[0m[38;2;248;248;242m [0m[38;2;230;219;116mlocalhost[0m[38;2;230;219;116m.[0m[38;2;230;219;116mtry[0m[38;2;248;248;242m [0m[38;2;230;219;116mip6[0m[38;2;230;219;116m-[0m[38;2;230;219;116mlocalhost[0m
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user