Commit graph

1604 commits

Author SHA1 Message Date
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
sharkdp
de6680bdf2 Move syntax mapping section 2020-10-11 21:11:26 +02:00
David Peter
0a28da0cd0
Small improvement to the syntax mapping section 2020-10-11 21:07:56 +02: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
henil
bce304a800 made requested changes 2020-10-11 20:54:37 +02:00
henil
206d3e7b91 fix a typo 2020-10-11 20:54:37 +02:00
henil
4be32cf746 add new section for sytax of file in README.md 2020-10-11 20:54:37 +02:00
henil
4ec6075f81 minor update to specify pattern matching on --map-syntax supports glob matching 2020-10-11 20:54:37 +02:00
henil
aa00e0a6b0 fix section 2020-10-11 20:54:37 +02:00
henil
bb7fae72c9 add a new syntax section 2020-10-11 20:54:37 +02:00
henil
7bd19640a2 add new --map-syntax example 2020-10-11 20:54:37 +02: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
Ethan P
acc370d345
Merge pull request #1305 from grg121/1213-dockerfile-syntax-highlighting-test
Add basic Dockerfile syntax highlighting test files
2020-10-10 15:20:57 -07: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
Benjamin Neff
2d5cf1d3cf Remove gitattributes for .bat/.cmd files to make all testfiles eol=lf 2020-10-09 23:28:08 +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
gahag
83ecc3d3ac Update changelog 2020-10-08 18:51:42 +02:00
gahag
6615eceb18 Code review: replace if let with equals operator 2020-10-08 18:51:42 +02:00
gahag
53f5a37f01 Code review
- Replace bools with enums
- Replace short flag with long flag
2020-10-08 18:51:42 +02:00
gahag
bbef2f41ec Add -S flag to less when --wrap=never (closes #1255)
Prevent less from wrapping lines by setting the proper flag when `--wrap=never`.
If the user set a custom value for `--pager`, no additional flag is set.
2020-10-08 18:51:42 +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
Niklas Sombert
5e0b7f013a Add support for comments after section headers (closes #1259)
There's no canonical definition of what's the INI syntax, but Python's `ConfigParser` supports comments after section headers:

```ini
[section] ; comment
```
2020-10-06 19:58:01 +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