David Peter
2904f24ea8
Merge pull request #1606 from sharkdp/syslog
...
Improve Syslog and general log file highlighting
3 years ago
Ersikan
9eb26b702c
Add syntax test for Vyper language
3 years ago
Ersikan
c933be926d
Add syntax tests for Solidity language.
3 years ago
Keith Hall
7c4edacb2b
Add independent log syntax
4 years ago
Keith Hall
782ede5db5
improve syslog syntax
4 years ago
Keith Hall
ba0d43672b
add example syslog file for highlighting tests
4 years ago
Sean McLoughlin
d89fa3ebc2
Add SystemVerilog support
4 years ago
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.
4 years ago
sharkdp
4c523af1ab
Add gnuplot syntax
...
closes #1431
4 years ago
sharkdp
b5bdba8b16
Svelte syntax test: rename license file
4 years ago
sharkdp
522c97f5ad
DotEnv syntax test: add missing newline
4 years ago
Paul Smith
c76e27851c
Add support for Zig
...
Adds syntax support for source code for the Zig programming
language. https://ziglang.org/
4 years ago
Julian Berman
af8a8035e8
Add a Lean highlighting test file.
4 years ago
Ensar Sarajčić
29ea396c31
Improve VimL regex highlighting
...
**NOTES:**
- PR is not yet merged in upstream repository (https://github.com/SalGnt/Sublime-VimL/pull/12 ),
but sublime-syntax file is already updated with changes.
- Updated syntax test files are added as well
This fixes #1064
4 years ago
Ensar Sarajčić
171d215f91
Add case from #1604 to VimL syntax-test source
4 years ago
Ensar Sarajčić
cc6109a751
Add syntax highlighting tests for VimL
...
Adds a syntax highlighting test for VimL
with source file based on parts of my own configuration
changed to cover as much of syntax as possible.
**NOTES:**
Last line of source (`syntax enable`) does not get highlighted,
since `syntax` keyword is not part of highlighting rules.
Related to #1213
4 years ago
Martin Nordholts
68d525cd8b
Don't add artificial newline to last line if --style=plain
...
This fixes #1438 .
Note however, that using a pager such as less will add a newline itself.
So to actually not print a newline for such files, you need to either
disable paging:
bat --style=plain --paging=never no-newline-at-end-of-file.txt
or use a "pager" that does not add a newline:
bat --style=plain --pager=cat no-newline-at-end-of-file.txt
Note that we also update syntax tests file since a bunch of them had
missing newlines on the last lines.
4 years ago
henil
591eba66a3
add new syntax test files
4 years ago
Byron Alley
3dc5fc54df
Import syntax regression test for Ruby Haml
4 years ago
Byron Alley
bac84b4c8b
Add sshd_config syntax highlighting test
4 years ago
David Peter
3a612f063e
Merge branch 'master' into master
4 years ago
Ján Priner
9daea73bba
Add Ninja highlight test
4 years ago
Kyle Hubert
072fb380d8
Add Svelte as a syntax
4 years ago
Horki
cc6cf48256
1213: org mode highlight testing
4 years ago
Horki
e571cb553b
1213: nix; added trailing new line
4 years ago
Horki
bf9f6e872d
1312: nix; fixed src
4 years ago
Horki
8348c1b746
1213: nix; fix buildInputs arr
4 years ago
Horki
0a9744ac95
add nix highligh
4 years ago
Dobe Peter
ec8072d51f
Add PowerShell syntax test
...
Part of the work for issue #1213 .
A short PowerShell script and the corresponding syntax-highlighted output
has been added. The script exhibits many of the peculiarities of the
PowerShell syntax.
4 years ago
Stefano Probst
7a7bb80e23
Add Git Config syntax test file
...
cc sharkdp/bat#1213
4 years ago
Alan Berndt
99ac5c3045
Add fairly complex nginx config.
...
This is to contribute to issue #1213 . I took some of the more
complicated servers I am running as examples. Everything looks to be
correctly highlighted compared to vim's syntax highlighting.
4 years ago
R1tschY
efab00a9de
Add Git Attributes syntax test
4 years ago
Frank Schmitt
5b2da2b08d
#1213 expanded D test file
4 years ago
Frank Schmitt
5e0a608ea6
#1213 added very basic test file for D
4 years ago
R1tschY
3729aefb6f
Add QML syntax test
4 years ago
henil
8a2122b4a4
Add test file for `/etc/group`
4 years ago
Tommaso Pifferi
cc6f6fdb1d
Add tests for Vue component syntax
4 years ago
Stefano Probst
5ec4936a4f
Add Graphviz DOT example files
...
cc sharkdp/bat#1213
4 years ago
Stefano Probst
be84682bcb
Add MATLAB syntax test file
...
cc sharkdp/bat#1213
4 years ago
ubaumann
b07f3b4e74
Add Salt State (SLS) test file
4 years ago
Zachary J. Rollyson
c71c8980cf
feat: add syntax sample for dotEnv files
4 years ago
sharkdp
3539d3e72d
Add Manpage syntax regression test for select(2)
4 years ago
Keith Hall
bb25111ca9
Improve Manpage syntax
4 years ago
Zachary J. Rollyson
3c756a65a6
feat: add syntax tests for sass
4 years ago
Matthieu Vion
8d574826c9
Added reStructuredText reference for syntax tests
4 years ago
Matthieu Vion
7c7eebbe83
Changed Makefile syntax test source
...
Now using Makefile from the Redis project
4 years ago
Matthieu Vion
57ad85814b
Added Makefile to syntax tests
...
Make progress in #1213
4 years ago
Benjamin Sinkula
4b2b419400
Add Common Lisp syntax highlighting test files
4 years ago
Celeo
b83716f0eb
feat: add Nim syntax test file
4 years ago
sharkdp
4d6b2fec13
Add PureScript syntax test
4 years ago
Benjamin Sinkula
5650624822
Add ActionScript 3 syntax test
4 years ago
Saul Blanco Tejero
bf07b0be58
Add Perl test file
4 years ago
Sebastian Andersson
eeea53759b
Add apache httpd.conf example
4 years ago
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.
4 years ago
Logan Saso
de47bd2323
Added newline to multicharacter line of plaintext generation script
4 years ago
Logan Saso
6c68198d19
Updated creation script and README to match generation script
4 years ago
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
4 years ago
Ethan P
24fe946c06
Merge pull request #1308 from okezieuc/add-php-file
...
added php test file
4 years ago
Ethan P
a838ff47b5
Merge pull request #1307 from molcay/master
...
Add syntax tests for CpuInfo and MemInfo filetype
4 years ago
okezieuc
8bd078caeb
updated the php commit
...
I reverted the commit and prevented the vue submodules from being affected
4 years ago
okezieuc
b7271a2a6d
Revert "added php test file"
...
This reverts commit ecde418abb
.
4 years ago
okezieuc
ecde418abb
added php test file
...
I added a sample test.php file that covers a lot of python syntax
4 years ago
M. Olcay TERCANLI
51036ced9d
Add MemInfo syntax test
4 years ago
M. Olcay TERCANLI
b6c1ec3a24
Add CpuInfo syntax test
4 years ago
Felipe Garcia
46004001cb
Add Clojure syntax test.
4 years ago
Zachary J. Rollyson
f10c8ce25e
Add GraphQl syntax test sample
4 years ago
grg121
457ab84065
Add basic Dockerfile syntax highlighting test files
4 years ago
Zachary J. Rollyson
3bcb5452aa
Add HTML syntax test sample
4 years ago
venky
1f0e53a44d
Added BibTeX syntax tests
4 years ago
Akshat Gadhwal
fdef133d3d
Update test.swift
4 years ago
Akshat Gadhwal
fd01f0a0ee
ADDED swift test file for syntax highlighting
4 years ago
Akshat Gadhwal
e7a3f34959
ADDED test file for R
4 years ago
Daniel Wolbach
06d0c8f056
add CMake syntax highlighting test
4 years ago
Jacky Hui
4064b8ff14
Added test file for Erlang.
4 years ago
Benjamin Neff
b6e729abeb
Add Diff syntax highlight test
4 years ago
Filip Czaplicki
5fe98689d4
test: x86-64 Assembly NASM syntax test
4 years ago
Daniel Wolbach
8832a96e82
add GLSL syntax highlighting test
4 years ago
R1tschY
09631ed119
Add Batch syntax test
4 years ago
Spencer Williams
b30f9a1677
Add sample Crystal file
4 years ago
Felipe Garcia
e6c3f96931
Add Groovy syntax test.
4 years ago
Felipe Garcia
85ff81f238
Add Lua syntax test.
4 years ago
Thiago Arrais
aa205c6a9f
Add CSV syntax hightlighting test
4 years ago
scott.eppler
44bfad24a1
Add Terraform example file for Syntax Highlighting
4 years ago
Gede Wahyu
13e01841ca
pascal: add syntax highlight file
4 years ago
sharkdp
a999975bc9
Add missing newline
4 years ago
Matthew Zegar
f41bf2082a
Added CSS syntax highlight file and folder
4 years ago
Ethan P
894d3f1722
Replace SCSS example with unlicensed one
4 years ago
Ethan P
83d96e2bbb
Rename SASS tests to SCSS, since they're using SCSS syntax
4 years ago
uabua
7a180e22ff
Add SQL syntax highlighting test
4 years ago
scott.eppler
dd95f8b5cb
Add example file for YAML highlighting
...
Relates to #1213
4 years ago
Niklas Sombert
975487f630
Add syntax highlighting test file for INI ( #1213 )
4 years ago
Akshat Gadhwal
c92ac809a5
added test.dart
4 years ago
DanielVip3
ec842e8d51
Added a JavaScript test file
4 years ago
henil
6d6e3900c3
add LICENSE
4 years ago
henil
0516a0d7a6
add .gitignore test
4 years ago
henil
6d2be4a305
License attribution not required
4 years ago
henil
78c9a5d45b
add julia test file
4 years ago
Mithil Poojary
5fa1645165
Add Java file test
4 years ago
Mithil Poojary
e58b20f68d
Add C file test
4 years ago
Logan Saso
0ce697daba
#1241 Added newline to end of example.xml
4 years ago