mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-27 07:32:27 +01:00
added new syntax highlighting files
I added a sample etc/hosts file and a sample requirements.txt file. I didn't know there was already a sample YAML file because it wasn't ticked in the issue so I added some extra syntax that I had in my own to the previous example.yaml file.
This commit is contained in:
8
tests/syntax-tests/source/Hosts/hosts
Normal file
8
tests/syntax-tests/source/Hosts/hosts
Normal file
@@ -0,0 +1,8 @@
|
||||
#this is a comment in the hosts file
|
||||
127.0.0.1 localhost
|
||||
|
||||
192.168.0.1 sample.test #a comment
|
||||
192.160.0.200 try.sample.test try #another comment
|
||||
216.58.223.238 google.com
|
||||
|
||||
::1 localhost.try ip6-localhost
|
@@ -0,0 +1,8 @@
|
||||
#this is a sample requirements.txt file
|
||||
|
||||
django==11.2.0
|
||||
pywheels>=12.4 #a whitespace followed by comments
|
||||
Nuitka<0.6.8.4
|
||||
wxPython>=1.0, <=2.1
|
||||
|
||||
#this is another comment
|
@@ -4,6 +4,9 @@ id: 3595
|
||||
name: Test User
|
||||
username: "testuser"
|
||||
other_names: ['Bob', 'Bill', 'George']
|
||||
hexa: 0x11c3 #inline comment
|
||||
octa: 021131
|
||||
lastseen: .NAN
|
||||
enabled: true
|
||||
locked: false
|
||||
groups:
|
||||
@@ -13,6 +16,19 @@ groups:
|
||||
address: >
|
||||
123 Alphabet Way
|
||||
San Francisco, CA
|
||||
bio: |
|
||||
I am a hardworking person
|
||||
and a member of the
|
||||
executive staff
|
||||
phone: null
|
||||
email: ~
|
||||
building_access: yes
|
||||
secure_access: no
|
||||
secure_access: no
|
||||
bulb: On
|
||||
fans: Off
|
||||
emails:
|
||||
executives:
|
||||
- bob@example.com
|
||||
- bill@example.com
|
||||
supervisors:
|
||||
- george@example.com
|
Reference in New Issue
Block a user