Dan Hipschman
9272e09058
Make highlight tests fail when new syntaxes don't have fixtures
2025-04-01 13:08:19 -07:00
Chetan
2e7ab99099
Add Odin submodule and syntax test file
2025-03-28 12:17:45 +00:00
Keith Hall
ffc094bd91
Add debsources syntax
2025-02-25 22:17:00 +02:00
Keith Hall
d31bc4347a
Map various .NET file extensions to XML syntax
2025-02-23 20:20:52 +02:00
Keith Hall
2843a2c0e8
Add mapping for ndjson file extension to JSON syntax
2025-02-15 08:46:22 +02:00
Keith Hall
915eb55779
Merge branch 'master' into syslog_error_highlighting_fix
2025-02-09 22:20:14 +02:00
Keith Hall
512bfde7ce
Correctly handle CSV files with a single separator throughout
...
better auto-detection of CSV delimiter
- files with a tsv extension are automatically detected as tab delimited
- other files parsed as CSV go through the following steps:
- if the first line contains at least 3 of the same separator, it uses that separator as a delimiter
- if the first line contains only one supported separator character, it uses that separator as a delimiter
- otherwise it falls back to treating all supported delimiters as the delimiter
supported delimiters, in precedence order:
- comma `,`
- semi-colon `;`
- tab `\t`
- pipe `|`
2025-02-09 20:37:53 +02:00
Keith Hall
27ba45ded7
patch Monokai Extended theme for better Syslog error highlighting
2025-02-09 20:32:48 +02:00
Keith Hall
b82b920420
attempt to fix syslog error highlighting
2025-02-09 20:31:31 +02:00
Denis Buzdalov
d6cb3ba747
[ new ] Add support for Idris 2 programming language
2025-01-27 23:47:20 +03:00
Brenton Bostick
de697f7717
add CFML syntax
2024-07-17 15:46:38 -04:00
ccQpein
25cd4991d2
update lisp test
2024-05-31 12:39:19 -04:00
guoguangwu
4790def1ef
fix: typo
...
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
2024-03-17 15:40:48 +01:00
dependabot[bot]
cd81c7fa6b
Bump assets/syntaxes/02_Extra/SublimeJQ from 6870582
to b7e53e5
( #2820 )
...
* Bump assets/syntaxes/02_Extra/SublimeJQ from `6870582` to `b7e53e5`
Bumps [assets/syntaxes/02_Extra/SublimeJQ](https://github.com/zogwarg/SublimeJQ ) from `6870582` to `b7e53e5`.
- [Commits](687058289c...b7e53e5d86
)
---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/SublimeJQ
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* update highlighted version of sample.jq
* update changelog
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Keith Hall <kingkeith+github@gmail.com>
2024-01-03 14:16:33 +00:00
Víctor González Prieto
497342fabb
Bump cmd-help syntax to latest
...
Manual update (as opposed to Dependabot's) because the highlighting for
the test help message has changed. It's all good because it's as
intended, an improvement.
See victor-gp/cmd-help-sublime-syntax#23
2023-12-29 18:15:55 +01:00
einfachIrgendwer0815
3d87b25b19
Add unicode/caret replacements for all control characters ( #2712 )
2023-10-20 19:41:48 +02:00
Mészáros Máté Róbert
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
rhysd
d756d6f1ed
Fix syntax tests failure on macOS during the daytime
2023-10-04 09:28:34 +02:00
rhysd
d376a4b631
Add support for WGSL
2023-10-04 09:09:54 +02:00
Jan T. Sott
32c0e1fb45
update highlighted test file
2023-09-01 17:50:30 +02:00
Jan T. Sott
34440f1b0c
update highlighted test file
2023-09-01 17:50:30 +02:00
Jan T. Sott
f1d6cc7a64
add test files for NSIS syntax
2023-09-01 17:50:30 +02:00
Keith Hall
b65a02681a
Add crontab syntax
2023-03-17 22:48:12 +02:00
Keith Hall
5e77ca37e8
More consistent scoping in commands section in Manpages
2023-03-04 16:51:39 +01:00
Keith Hall
52ef1bc0d6
Scope environment variable and commands sections in Manpages
2023-02-05 16:56:54 +01:00
Víctor González Prieto
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
David Peter
accc1b6d10
Merge pull request #2366 from Freed-Wu/vimhelp
...
Add VimHelp.sublime-syntax and its test
2022-11-04 22:07:57 +01:00
David Peter
4724d50e1d
Merge pull request #2361 from Freed-Wu/main
...
Add Requirementstxt.sublime-syntax and its test.
2022-11-02 21:00:33 +01:00
David Peter
14742a82bd
Merge branch 'master' into master
2022-10-30 21:08:04 +01:00
David Peter
8e15c9c501
Merge pull request #2316 from dkm/pr/ada_syntax
...
Add syntax support for Ada
2022-10-30 19:56:07 +01:00
Wu Zhenyu
37da5659c5
Add VimHelp.sublime-syntax and its test
2022-10-30 13:40:41 +08:00
Wu Zhenyu
6010b334c6
Add Requirementstxt.sublime-syntax and its test.
2022-10-30 13:33:12 +08:00
BANO.notIT
31f964f468
fix(syntax): Use variable.other for TodoTxt attrs
2022-10-29 16:55:46 +03:00
BANO.notIT
316f1b3601
test(syntax): Generate normal highlight for bat
2022-10-22 17:06:27 +03:00
BANO.notIT
1a85b4c3b5
test(syntax): Add partially working test
2022-10-22 16:59:19 +03:00
wzy
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
Marc Poulhiès
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
dag-h
08386daa3a
Strip BOM from output in interactive mode ( #1938 )
...
* Strip BOM from output in interactive mode
* Strip BOM when not loop_through, add regression tests
* Update CHANGELOG.md
* Only strip BOM from beginning of first line
* Fix integration test on macOS that relied on color scheme
* Fix integration test on Windows that relied on detected terminal width
* Fix syntax test that was failing due to a previously wrong (now fixed) highlighting
Co-authored-by: David Peter <mail@david-peter.de>
Co-authored-by: Martin Nordholts <enselic@gmail.com>
2022-09-06 19:08:38 +02:00
Kid
d6d8b61131
Fix highlight test
2022-09-04 22:22:18 +02:00
Kid
839e62cff8
Map fish_history
to YAML
2022-09-04 22:22:18 +02:00
Kid
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
yuvalmo
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
Cre3per
ed4997c77c
Add syntax mapping from NSE to Lua ( #2214 )
2022-06-04 14:12:42 +02:00
Martin Nordholts
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
Martin Nordholts
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
dependabot[bot]
ef3e398b2b
Bump assets/syntaxes/02_Extra/Zig from 87ecbca
to 1a4a384
( #2136 )
...
* Bump assets/syntaxes/02_Extra/Zig from `87ecbca` to `1a4a384`
Bumps [assets/syntaxes/02_Extra/Zig](https://github.com/ziglang/sublime-zig-language ) from `87ecbca` to `1a4a384`.
- [Release notes](https://github.com/ziglang/sublime-zig-language/releases )
- [Commits](87ecbcae6f...1a4a38445f
)
---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/Zig
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update tests/syntax-tests/highlighted/Zig/example.zig and CHANGELOG.md
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Nordholts <enselic@gmail.com>
2022-05-05 20:29:17 +02:00
Víctor González Prieto
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
Keith Hall
c0ec03e08a
Syntax: [Log] highlight escape characters in double quoted strings
2022-03-22 22:20:39 +02:00
ltdk
e4f6fb2afe
Add JQ syntax highlighting
2022-02-14 19:14:19 +01:00
Firegem
0c19d3e51a
Add autogenerated highlighted
folder
2022-01-06 13:08:38 +01:00