Commit Graph

14 Commits

Author SHA1 Message Date
David Peter
94496df3b0 Fix broken resolv.conf highlighting
closes #1510

The change in `create_highlighted_versions.py` fixes a "unknown theme
"'1337'" warning. The single quotes were wrong. `bat` was always falling
back to the default theme, so let's use that for now.
2021-02-16 22:15:31 +01:00
Zachary J. Rollyson
a3f037773a feat: include dotfiles (.) in create_highlighted_versions.py search 2020-10-17 17:40:51 +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
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
Mithil Poojary
6df8b3fe72 Print error message if bat not found on path 2020-10-05 09:01:46 +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
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