de697f7717
add CFML syntax
2024-07-17 15:46:38 -04:00
63aaa03013
Update the ssh-config submodule ( #2697 )
...
* Update the ssh-config submodule
Pull in the fix for the syntax.
Fixes #2359
* Extend the ssh_config syntax test
2023-10-10 06:16:41 +02:00
d376a4b631
Add support for WGSL
2023-10-04 09:09:54 +02:00
f1d6cc7a64
add test files for NSIS syntax
2023-09-01 17:50:30 +02:00
b65a02681a
Add crontab syntax
2023-03-17 22:48:12 +02:00
52ef1bc0d6
Scope environment variable and commands sections in Manpages
2023-02-05 16:56:54 +01:00
3ffa7edbd5
Bump cmd-help syntax to latest
...
This update includes an overhaul of scope names to better support the
set of themes included with bat.
You can find a visual diff for every theme in this PR:
https://github.com/victor-gp/cmd-help-sublime-syntax/pull/17
This commit updates the cmd-help syntax test because the scopes (-> colors)
have changed.
2022-12-07 04:02:05 +01:00
accc1b6d10
Merge pull request #2366 from Freed-Wu/vimhelp
...
Add VimHelp.sublime-syntax and its test
2022-11-04 22:07:57 +01:00
4724d50e1d
Merge pull request #2361 from Freed-Wu/main
...
Add Requirementstxt.sublime-syntax and its test.
2022-11-02 21:00:33 +01:00
14742a82bd
Merge branch 'master' into master
2022-10-30 21:08:04 +01:00
8e15c9c501
Merge pull request #2316 from dkm/pr/ada_syntax
...
Add syntax support for Ada
2022-10-30 19:56:07 +01:00
37da5659c5
Add VimHelp.sublime-syntax and its test
2022-10-30 13:40:41 +08:00
6010b334c6
Add Requirementstxt.sublime-syntax and its test.
2022-10-30 13:33:12 +08:00
1a85b4c3b5
test(syntax): Add partially working test
2022-10-22 16:59:19 +03:00
f215d07366
Improve Manpage.sublime-syntax, Fix #2353 ( #2364 )
...
* Improve Manpage.sublime-syntax, Fix #2353
* Add highlight tests for fzf-0.33.0
2022-10-17 19:56:17 +02:00
06b403aa92
Add syntax support for Ada
...
Add submodule with sublime syntax.
Add corresponding tests for both Ada (in adb/ads) and for the companion tool
gpr.
fixes #1300
Signed-off-by: Marc Poulhiès <dkm@kataplop.net >
2022-09-14 22:49:39 +02:00
839e62cff8
Map fish_history
to YAML
2022-09-04 22:22:18 +02:00
d7b6519422
Add .mts
and .cts
to TypeScript file extensions
...
See also:
https://github.com/github/linguist/pull/5905
2022-09-04 22:06:54 +02:00
c4d9d7561b
Color fstab
dump and pass fields correctly ( #2246 )
...
Was missing the number 2 as a valid option in those fields.
2022-07-25 21:33:51 +02:00
ed4997c77c
Add syntax mapping from NSE to Lua ( #2214 )
2022-06-04 14:12:42 +02:00
5fe9b3e1b3
Make INI
syntax register as handler of .inf
files
...
We need to type `inf` and `INF` as strings in `INI.sublime-syntax`,
otherwise `yaml-rust` interprets them as real numbers ("infinity") and
they do not get registered as file extensions:
/Users/martin/src/yaml-rust # https://github.com/chyh1990/yaml-rust
% cargo run --example dump_yaml ~/src/bat/assets/syntaxes/02_Extra/INI.sublime-syntax
---
String("name"):
String("INI")
String("file_extensions"):
String("ini")
String("INI")
Real("inf")
Real("INF")
...
Also add a regression test.
2022-05-11 17:39:01 +02:00
7334ab4542
Bump to syntect 5.0.0 to e.g. start lazy-loading syntaxes ( #2181 )
...
* Bump to syntect 5.0.0 to e.g. start lazy-loading themes
Closes #915
Closes #951
Closes #1846
Closes #1854
* Typo fix formated -> formatted
* Update CHANGELOG.md
2022-05-07 13:43:11 +02:00
b0898900ce
Syntax: add cmd-help ( #2148 )
...
* Add cmd-help syntax
To highlight command --help messages.
* README.md: mention help message highlighting
* README.md: edit help message highlighting
2022-04-26 19:42:18 +02:00
c0ec03e08a
Syntax: [Log] highlight escape characters in double quoted strings
2022-03-22 22:20:39 +02:00
e4f6fb2afe
Add JQ syntax highlighting
2022-02-14 19:14:19 +01:00
e73c3d2378
Add a test file for nimble
2022-01-06 13:08:38 +01:00
29711c178a
Better syntax highlighting for Dart ( #1959 )
...
Remove unmaintained Dart syntax submodule. Add elMuso/Dartlight as submodule. Update Dart syntax highlighting. Add changes to changelog.
2021-12-06 08:40:43 +01:00
3338699257
Remove the 'requirements.txt' syntax
...
This is needed because the syntax is only available under GPL v3.0,
which is not compatible with `bat`s license.
2021-11-28 16:28:14 +01:00
619cf6e6d6
Add MediaWiki syntax
2021-11-22 19:46:29 +01:00
dde770aa21
Add bat panic regression test for Svelte files with embedded LiveScript
...
Without a LiveScript syntax present, the Svelte test will now fail with a panic.
2021-10-23 13:35:32 +02:00
6eb2cc9cac
Add LiveScript syntax
...
The file `LiveScript.sublime-syntax` is a pure export from a licenced version
of Sublime Text, Version 3.1.1, Build 3176 with
assets/syntaxes/02_Extra/LiveScript/Syntaxes/LiveScript.tmLanguage as the source
file.
2021-10-23 13:35:32 +02:00
994c21a5e1
syntax-tests: Make CpuInfo test actually work ( #1887 )
...
* syntax-tests: Make CpuInfo test actually work
File extension matching is case-sensitive, so extension needs to be .cpuinfo for
the syntax to actually be used.
* Also fix MemInfo
2021-10-06 06:50:11 +02:00
d04a83de7b
Add Racket syntax
2021-10-03 19:17:26 +02:00
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
2021-09-07 17:01:15 +02:00
7c41bd72da
assets: add Debian ucf backups to ignored suffixes
...
Refs https://manpages.debian.org/bullseye/ucf/ucf.1.en.html
2021-08-29 19:55:00 +02:00
133b06e945
Fix syslog syntax highlighting when no colon after "process"
2021-08-16 22:15:39 +03:00
699f1e65cc
Add slim syntax test
2021-08-16 06:16:53 +02:00
2d92a4dbb3
Allow colon in syslog loghost
...
Makes it work with IPv6 addresses.
2021-08-11 21:36:43 +03:00
f508ddf66d
Allow period in syslog loghost
...
Makes it work with FQDN's and IPv4 addresses.
2021-08-11 16:43:04 +03:00
02218c916c
Allow period in syslog process name
2021-08-11 16:41:56 +03:00
51c7eb7ac1
Included LLVM syntax highlighting submodule and added regression tests
2021-08-05 20:20:33 +02:00
6d5ff671e7
Add HTTP Request/Response syntax as a git submodule
2021-07-29 21:36:16 +02:00
f464b1ba39
Update battest.py
...
Add decorator test `@classmethod` and fixed spellings.
2021-07-26 08:44:05 +02:00
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.
2021-07-25 13:27:30 +02:00
ddb39ef2f6
Add syntax tests for ignored filename suffixes
2021-07-09 06:34:11 +02:00
c18afcb01a
Add Verilog syntax test file
2021-06-01 22:36:56 +02:00
63043d4a60
Add varlink syntax test file
2021-06-01 22:36:56 +02:00
76034880ae
Add TypeScriptReact syntax test file
2021-06-01 22:36:56 +02:00
768189859a
Add Stylus syntax test file
2021-06-01 22:36:56 +02:00
6e5a2a5c51
Add Strace syntax test file
2021-06-01 22:36:56 +02:00