Commit Graph

222 Commits

Author SHA1 Message Date
Stefano Probst
be84682bcb Add MATLAB syntax test file
cc sharkdp/bat#1213
2020-10-24 12:22:46 +02:00
ubaumann
b07f3b4e74 Add Salt State (SLS) test file 2020-10-23 19:40:13 +02:00
Zachary J. Rollyson
a3f037773a feat: include dotfiles (.) in create_highlighted_versions.py search 2020-10-17 17:40:51 +02:00
Zachary J. Rollyson
c71c8980cf feat: add syntax sample for dotEnv files 2020-10-17 17:40:51 +02:00
Keith Hall
575888d81b Fix Manpage C highlighting regression 2020-10-17 16:46:18 +02:00
sharkdp
3539d3e72d Add Manpage syntax regression test for select(2) 2020-10-17 16:46:18 +02:00
Keith Hall
bb25111ca9 Improve Manpage syntax 2020-10-17 16:46:18 +02:00
Zachary J. Rollyson
3c756a65a6 feat: add syntax tests for sass 2020-10-17 16:41:11 +02:00
Matthieu Vion
8d574826c9 Added reStructuredText reference for syntax tests 2020-10-16 19:03:20 +02:00
Matthieu Vion
7c7eebbe83 Changed Makefile syntax test source
Now using Makefile from the Redis project
2020-10-16 14:22:59 +02:00
Matthieu Vion
57ad85814b Added Makefile to syntax tests
Make progress in #1213
2020-10-16 14:22:59 +02:00
Benjamin Sinkula
4b2b419400 Add Common Lisp syntax highlighting test files 2020-10-16 08:58:04 +02:00
Celeo
b83716f0eb feat: add Nim syntax test file 2020-10-16 08:56:36 +02:00
sharkdp
4d6b2fec13 Add PureScript syntax test 2020-10-14 08:43:11 +02:00
Benjamin Sinkula
5650624822 Add ActionScript 3 syntax test 2020-10-14 08:07:20 +02:00
Saul Blanco Tejero
bf07b0be58 Add Perl test file 2020-10-14 07:45:42 +02:00
Sebastian Andersson
eeea53759b Add apache httpd.conf example 2020-10-14 07:43:38 +02:00
okezieuc
a39f1e0f9b 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.
2020-10-14 07:41:13 +02:00
sharkdp
33128d75f2 Use list.extend(…) 2020-10-11 22:18:14 +02:00
sharkdp
bf87f37039 Better ask forgiveness than permission 2020-10-11 22:18:14 +02:00
sharkdp
62e715ff5b Formatting 2020-10-11 22:18:14 +02:00
Logan Saso
de47bd2323 Added newline to multicharacter line of plaintext generation script 2020-10-11 21:31:34 +02:00
Logan Saso
19b55706ee Fixed file location in creation script 2020-10-11 21:31:34 +02:00
Logan Saso
6c68198d19 Updated creation script and README to match generation script 2020-10-11 21:31:34 +02:00
Logan Saso
f3c760c25f #1244 Use [].copy and path.exists instead of more cumbersome solutions
#1244 Slightly optimized create_highlighted_versions.py so that it won't walk the source path when it should be skipping the file

#1244 Updated README.md in plaintext source folder

#1244 Added extra option loading from `bat_options` file in directory and significantly reduced size of plaintext source

#1244 Updated create_highlighted_versions.py to ignore README.md files and use the --show-all option for manually-defined binary files

#1244 Updated plaintext file with command

bat -A --no-config --style=plain --color=always --theme='1337' --italic-text=always src/Plaintext/plaintext.txt > highlighted/Plaintext/plaintext.txt

#1244 Added example plaintext file
2020-10-11 21:31:34 +02:00
Ethan P
24fe946c06
Merge pull request #1308 from okezieuc/add-php-file
added php test file
2020-10-11 12:25:15 -07:00
Ethan P
a838ff47b5
Merge pull request #1307 from molcay/master
Add syntax tests for CpuInfo and MemInfo filetype
2020-10-11 11:58:59 -07:00
okezieuc
8bd078caeb updated the php commit
I reverted the commit and prevented the vue submodules from being affected
2020-10-11 19:58:53 +01:00
okezieuc
b7271a2a6d Revert "added php test file"
This reverts commit ecde418abb.
2020-10-11 19:53:36 +01:00
okezieuc
ecde418abb added php test file
I added a sample test.php file that covers a lot of python syntax
2020-10-11 18:48:29 +01:00
M. Olcay TERCANLI
51036ced9d Add MemInfo syntax test 2020-10-11 19:19:11 +03:00
M. Olcay TERCANLI
b6c1ec3a24 Add CpuInfo syntax test 2020-10-11 19:18:53 +03:00
Felipe Garcia
46004001cb Add Clojure syntax test. 2020-10-11 09:48:06 +02:00
Zachary J. Rollyson
f10c8ce25e Add GraphQl syntax test sample 2020-10-11 09:46:25 +02:00
grg121
457ab84065
Add basic Dockerfile syntax highlighting test files 2020-10-10 21:43:11 +02:00
Zachary J. Rollyson
3bcb5452aa Add HTML syntax test sample 2020-10-10 19:13:55 +02:00
venky
1f0e53a44d Added BibTeX syntax tests 2020-10-10 19:13:05 +02:00
sharkdp
a81254ed2a Fix line endings 2020-10-09 23:22:30 +02:00
Akshat Gadhwal
fdef133d3d Update test.swift 2020-10-09 23:22:30 +02:00
Akshat Gadhwal
fd01f0a0ee ADDED swift test file for syntax highlighting 2020-10-09 23:22:30 +02:00
sharkdp
5b095ed6f3 Fix line endings 2020-10-09 23:18:53 +02:00
Akshat Gadhwal
e7a3f34959 ADDED test file for R 2020-10-09 23:18:53 +02:00
Daniel Wolbach
06d0c8f056 add CMake syntax highlighting test 2020-10-09 22:50:47 +02:00
Jacky Hui
4064b8ff14 Added test file for Erlang. 2020-10-09 07:38:08 +02:00
Benjamin Neff
b6e729abeb Add Diff syntax highlight test 2020-10-08 12:50:09 +02:00
Filip Czaplicki
5fe98689d4 test: x86-64 Assembly NASM syntax test 2020-10-07 18:00:33 +02:00
Daniel Wolbach
8832a96e82 add GLSL syntax highlighting test 2020-10-07 17:58:33 +02:00
R1tschY
09631ed119 Add Batch syntax test 2020-10-07 07:41:42 +02:00
Spencer Williams
9257c7ce20 Regenerate using a fresh latest build of bat 2020-10-07 07:40:15 +02:00
Spencer Williams
b30f9a1677 Add sample Crystal file 2020-10-07 07:40:15 +02:00
Felipe Garcia
e6c3f96931 Add Groovy syntax test. 2020-10-07 07:38:52 +02:00
Felipe Garcia
85ff81f238 Add Lua syntax test. 2020-10-07 07:37:19 +02:00
Thiago Arrais
aa205c6a9f Add CSV syntax hightlighting test 2020-10-06 19:47:33 +02:00
scott.eppler
44bfad24a1 Add Terraform example file for Syntax Highlighting 2020-10-06 19:40:41 +02:00
Gede Wahyu
13e01841ca pascal: add syntax highlight file 2020-10-06 07:44:38 +02:00
sharkdp
a999975bc9 Add missing newline 2020-10-06 07:17:10 +02:00
Matthew Zegar
edf30e1fa1 Added missing highlighted generated test file 2020-10-06 07:17:10 +02:00
Matthew Zegar
f41bf2082a Added CSS syntax highlight file and folder 2020-10-06 07:17:10 +02:00
Ethan P
894d3f1722 Replace SCSS example with unlicensed one 2020-10-06 06:51:51 +02:00
Ethan P
83d96e2bbb Rename SASS tests to SCSS, since they're using SCSS syntax 2020-10-06 06:51:51 +02:00
uabua
7a180e22ff Add SQL syntax highlighting test 2020-10-05 23:39:01 +02:00
scott.eppler
e85064e4cf Fix mismatch between syntax-test and hightlighted
I needed to re-run `update.sh` script one last time.
2020-10-05 22:03:27 +02:00
scott.eppler
dd95f8b5cb Add example file for YAML highlighting
Relates to #1213
2020-10-05 22:03:27 +02:00
Niklas Sombert
975487f630 Add syntax highlighting test file for INI (#1213) 2020-10-05 21:09:24 +02:00
Akshat Gadhwal
c92ac809a5 added test.dart 2020-10-05 18:53:35 +02:00
DanielVip3
ec842e8d51 Added a JavaScript test file 2020-10-05 17:26:13 +02:00
henil
6d6e3900c3 add LICENSE 2020-10-05 17:25:37 +02:00
henil
0516a0d7a6 add .gitignore test 2020-10-05 17:25:37 +02:00
henil
adbbe158db forgot to update highlighted file after changing 2020-10-05 14:24:16 +02:00
henil
6d2be4a305 License attribution not required 2020-10-05 14:24:16 +02:00
henil
78c9a5d45b add julia test file 2020-10-05 14:24:16 +02:00
Mithil Poojary
5fa1645165 Add Java file test 2020-10-05 13:56:43 +02:00
Mithil Poojary
e58b20f68d Add C file test 2020-10-05 09:06:47 +02:00
Logan Saso
0ce697daba #1241 Added newline to end of example.xml 2020-10-05 09:02:56 +02:00
Logan Saso
a2dfadc6c8 #1213 Added example xml file 2020-10-05 09:02:56 +02:00
Mithil Poojary
6df8b3fe72 Print error message if bat not found on path 2020-10-05 09:01:46 +02:00
Mithil Poojary
b623adc6df Add Cpp file test 2020-10-05 09:01:34 +02:00
Matthias Reitinger
2f77da7813 Add /etc/passwd syntax test file 2020-10-05 07:22:54 +02:00
Jonatas
9897c99190 Haskell highligth test 2020-10-05 07:20:00 +02:00
Giorgi Beriashvili
aebc30447f Add TeX syntax highlighting test files 2020-10-05 07:19:07 +02:00
Giorgi Beriashvili
d2bae54ed0 Add C-Sharp (C#) syntax highlighting test files 2020-10-05 07:15:09 +02:00
Logan Saso
501c369f39 #1213 Added example Markdown file 2020-10-05 07:14:09 +02:00
Filip Czaplicki
db3468a815 test: ARM Assembly syntax test file 2020-10-05 07:12:24 +02:00
Filip Czaplicki
3aabed44ce test: Kotlin syntax test file 2020-10-05 07:11:52 +02:00
Ethan P
3af7a6b082
Merge pull request #1226 from mdevlamynck/fix-scripts
Shell script improvements
2020-10-04 13:49:50 -07:00
Daniil Baturin
2e985198c6 Add a protobuf syntax sample. 2020-10-04 21:32:09 +02:00
Celeo
74a2ef8138 test: add Jinja2 syntax test file 2020-10-04 21:31:19 +02:00
Daniil Baturin
88ea21b276 Add an SML syntax test file. 2020-10-04 21:25:05 +02:00
Michael
62397dbd0b test: add newline to JSON syntax source file 2020-10-04 21:22:57 +02:00
Michael
317b086f66 test: add json highlight test 2020-10-04 21:22:57 +02:00
Matthias Devlamynck
12340c1d10 Add change dir to script dir to allow running from project root dir 2020-10-04 19:35:32 +02:00
parksb
e747199711 Generate highlighted file on latest version 2020-10-04 15:25:39 +02:00
parksb
df7ce883c7 Add texts indicating source to LICENSE.md 2020-10-04 15:25:39 +02:00
parksb
eb3e2dca24 Add basic typescript test file 2020-10-04 15:25:39 +02:00
Michael
2d9b936b0a test: add asciidoc highlight test 2020-10-04 15:23:49 +02:00
Matthias Devlamynck
66c7aca2f6 Add elm syntax regression test 2020-10-04 15:19:54 +02:00
Nick Anthony Flueckiger
0c3344d0c4 Add a ruby source code syntax test with source and output 2020-10-04 15:15:34 +02:00
Quang Le
5d490664ca fix: update original file in license 2020-10-04 13:26:05 +02:00
Quang Le
d170dd305d Add scala code highlight test 2020-10-04 13:26:05 +02:00
Matthias Devlamynck
b50bd58795 Replace #!/bin/bash with #!/usr/bin/env bash to improve compatibility with systems where /bin/bash is not available 2020-10-04 11:51:07 +02:00
David Peter
1da279a290 Add link to original source 2020-10-04 11:25:11 +02:00
Quang Le
100b9a470b test: add go highlight test 2020-10-04 11:25:11 +02:00
Daniil Baturin
43c2b36eaa Make tests/syntax-tests/update.sh shell script executable. 2020-10-04 11:17:23 +02:00
Daniil Baturin
203d0bd8ae Add an OCaml file for syntax tests. 2020-10-04 11:16:15 +02:00
Ethan P
96151c44aa Add a batgrep as Bash script syntax tests 2020-10-04 11:00:57 +02:00
Ethan P
02dcb01120 Add a simple Bash script for syntax tests 2020-10-04 11:00:57 +02:00
Ethan P
51d25e5859 Fix syntax highlighting test update.sh to work on Mac OS 2020-10-04 11:00:57 +02:00
José Eduardo
29b6ba0758 Added Elixir file example 2020-10-03 22:33:44 +02:00
adgai19
ca5793dbea Added Basic python test file 2020-10-03 22:32:59 +02:00
sharkdp
1ecb70e082 Update email syntax output 2020-10-01 22:58:30 +02:00
sharkdp
9eed16beb4 Add Email example code 2020-10-01 22:58:30 +02:00
sharkdp
5efc0033a1 Add updated, highlighted output 2020-09-30 19:50:19 +02:00
sharkdp
c9237cccab Add AWK file for syntax tests 2020-09-30 19:50:19 +02:00
sharkdp
89b62d579f Add update script 2020-09-20 21:43:18 +02:00
sharkdp
436a16aba6 Add syntax test for /etc/fstab 2020-09-20 21:43:18 +02:00
sharkdp
c3f85c8372 Add Less file for syntax tests 2020-09-07 22:25:14 +02:00
sharkdp
7f5d6d9791 Add SASS file for syntax tests 2020-09-07 22:25:14 +02:00
sharkdp
cbe68ba84c Make sure that environment is properly set up 2020-08-03 15:59:53 +02:00
sharkdp
4b012de7db Make test script executable 2020-08-03 15:59:53 +02:00
sharkdp
02a89d8ee8 Add comparison script 2020-08-03 15:59:53 +02:00
sharkdp
a70efae79b Add proper CLI 2020-08-03 15:59:53 +02:00
sharkdp
78a681f027 Initial version of syntax regression tests 2020-08-03 15:59:53 +02:00