1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-01 19:02:22 +01:00

Replace missing asset submodules

This commit is contained in:
Keith Hall
2025-08-07 22:32:32 +03:00
parent 369ea67ad3
commit 9d3245eebe
5 changed files with 12 additions and 34 deletions

8
.gitmodules vendored
View File

@@ -113,9 +113,6 @@
[submodule "assets/syntaxes/DotENV"] [submodule "assets/syntaxes/DotENV"]
path = assets/syntaxes/02_Extra/DotENV path = assets/syntaxes/02_Extra/DotENV
url = https://github.com/zaynali53/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"] [submodule "assets/syntaxes/ssh-config"]
path = assets/syntaxes/02_Extra/ssh-config path = assets/syntaxes/02_Extra/ssh-config
url = https://github.com/robballou/sublimetext-sshconfig.git url = https://github.com/robballou/sublimetext-sshconfig.git
@@ -177,7 +174,7 @@
url = https://github.com/euler0/sublime-glsl url = https://github.com/euler0/sublime-glsl
[submodule "assets/syntaxes/02_Extra/Nginx"] [submodule "assets/syntaxes/02_Extra/Nginx"]
path = 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"] [submodule "assets/syntaxes/02_Extra/Apache"]
path = assets/syntaxes/02_Extra/Apache path = assets/syntaxes/02_Extra/Apache
url = https://github.com/colinta/ApacheConf.tmLanguage url = https://github.com/colinta/ApacheConf.tmLanguage
@@ -278,3 +275,6 @@
[submodule "assets/syntaxes/02_Extra/SmartVHDL"] [submodule "assets/syntaxes/02_Extra/SmartVHDL"]
path = assets/syntaxes/02_Extra/SmartVHDL path = assets/syntaxes/02_Extra/SmartVHDL
url = https://github.com/TheClams/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

View File

@@ -48,6 +48,7 @@
- Add syntax mapping for certbot certificate configuration #3338 (@cyqsimon) - Add syntax mapping for certbot certificate configuration #3338 (@cyqsimon)
- Update Lean syntax from Lean 3 to Lean 4 #3322 (@YDX-2147483647) - Update Lean syntax from Lean 3 to Lean 4 #3322 (@YDX-2147483647)
- Map `.flatpakref` and `.flatpakrepo` files to INI syntax #3353 (@Ferenc-) - Map `.flatpakref` and `.flatpakrepo` files to INI syntax #3353 (@Ferenc-)
- Update hosts syntax #3368 (@keith-hall)
## Themes ## Themes

View File

@@ -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

View File

@@ -1,8 +1,8 @@
#this is a comment in the hosts file #this is a comment in the hosts file
127.0.0.1  localhost 127.0.0.1 localhost
192.168.0.1 sample.test #a comment 192.168.0.1 sample.test #a comment
192.160.0.200 try.sample.test try #another comment 192.160.0.200 try.sample.test try #another comment
216.58.223.238 google.com 216.58.223.238 google.com
::1 localhost.try ip6-localhost ::1 localhost.try ip6-localhost