Martin Nordholts
d935ea1cda
Add regression testing for the custom assets functionality ( #1829 )
...
The test is following the same steps regular users are instructed to follow:
https://github.com/sharkdp/bat/blob/master/README.md#adding-new-syntaxes--language-definitions
3 years ago
Ville Skyttä
7c41bd72da
assets: add Debian ucf backups to ignored suffixes
...
Refs https://manpages.debian.org/bullseye/ucf/ucf.1.en.html
3 years ago
Keith Hall
133b06e945
Fix syslog syntax highlighting when no colon after "process"
3 years ago
Mario Finelli
699f1e65cc
Add slim syntax test
3 years ago
Ville Skyttä
2d92a4dbb3
Allow colon in syslog loghost
...
Makes it work with IPv6 addresses.
3 years ago
Ville Skyttä
f508ddf66d
Allow period in syslog loghost
...
Makes it work with FQDN's and IPv4 addresses.
3 years ago
Ville Skyttä
02218c916c
Allow period in syslog process name
3 years ago
Layle | Luca
51c7eb7ac1
Included LLVM syntax highlighting submodule and added regression tests
3 years ago
Keith Hall
6d5ff671e7
Add HTTP Request/Response syntax as a git submodule
3 years ago
Sarvesh MD
f464b1ba39
Update battest.py
...
Add decorator test `@classmethod` and fixed spellings.
3 years ago
Ville Skyttä
7537e309d8
Add groff syntax
...
The syntax is named "Man Page" upstream, but our man page syntax is
different, it's for rendered man pages. Rename to Groff and remove
`.man` from extensions.
3 years ago
Ville Skyttä
ddb39ef2f6
Add syntax tests for ignored filename suffixes
3 years ago
Mohamed Abdelnour
c18afcb01a
Add Verilog syntax test file
3 years ago
Mohamed Abdelnour
63043d4a60
Add varlink syntax test file
3 years ago
Mohamed Abdelnour
76034880ae
Add TypeScriptReact syntax test file
3 years ago
Mohamed Abdelnour
768189859a
Add Stylus syntax test file
3 years ago
Mohamed Abdelnour
6e5a2a5c51
Add Strace syntax test file
3 years ago
Mohamed Abdelnour
9935c4984c
Add Robot Framework syntax test file
3 years ago
Mohamed Abdelnour
a0a5e30c39
Add Rego syntax test file
3 years ago
Mohamed Abdelnour
4126bbeead
Add Puppet syntax test file
3 years ago
Mohamed Abdelnour
a5b79295d7
Add NAnt Build File syntax test file
3 years ago
Mohamed Abdelnour
e917784932
Add Literate Haskell syntax test file
3 years ago
Mohamed Abdelnour
f46b90d28d
Add jsonnet syntax test file
3 years ago
Mohamed Abdelnour
64cbfbed47
Add Java Server Page (JSP) syntax test file
3 years ago
Mohamed Abdelnour
16d346773b
Add Fortran Namelist syntax test file
3 years ago
Mohamed Abdelnour
b02120cf66
Add Fortran (Fixed Form) syntax test file
3 years ago
Mohamed Abdelnour
702b5caf2d
Add Fortran (Modern) syntax test file
3 years ago
Mohamed Abdelnour
d395f64f58
Add F# syntax test file
3 years ago
Mohamed Abdelnour
c9627040cc
Add CoffeeScript syntax test file
3 years ago
Mohamed Abdelnour
b1f69434f9
Add Cabal syntax test file
3 years ago
Mohamed Abdelnour
8435cad602
Merge master
3 years ago
Mohamed Abdelnour
8b6341458b
Add XAML test file
3 years ago
Mohamed Abdelnour
8b787b4f70
Add dash test file
3 years ago
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
3 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