Commit Graph

588 Commits

Author SHA1 Message Date
8b12191bda Make map-syntax target case insensitive 2025-07-17 22:19:54 +03:00
9121746f05 test: code coverage for list-languages parameter 2025-07-14 16:40:14 +02:00
4661f22e81 Merge remote-tracking branch 'upstream/master' into lean 2025-07-11 13:03:06 +08:00
bfd8776042 chore: Follow Lean upstream 2025-07-11 12:56:46 +08:00
a0b4397ddf Merge branch 'master' into syntax-vhdl 2025-07-09 04:33:36 +05:00
9776ebfa0f Send errors to stderr (#3336)
* fix: send errors to stderr by default (#2561)

Closes #2561

* chore: add changelog entry

* chore: change PR id

* chore: add github username

* chore: cargo fmt...

* chore: move changelog line to bugfixes
2025-07-08 20:42:22 +02:00
bdc971eca3 feat(syntax): add syntax highlighting for VHDL 2025-07-07 19:20:23 +05:00
288b7e9ca3 docs: Add Lean/LICENSE.md
> Jeremy Avigad:
> Patrick and I decided that it makes sense to release the text of MIL under CC BY 4.0 and the repository code (exercises, solutions, etc.) under Apache 2.0. We'll put the Apache license in the repo and figure out where to at the CC BY notice, but in the meantime, you can take this message as a declaration.

https://leanprover.zulipchat.com/#narrow/channel/113488-general/topic/License.20of.20Mathematics.20in.20Lean.3F/near/523527618
2025-06-11 22:06:52 +08:00
0918984249 Update Lean.sublime-syntax from Lean 3 to Lean 4
Resolves #3286

1. `lean4.json` → `lean4.tmLanguage`

    1. Download `vscode-lean4/syntaxes/lean4.json` from https://github.com/leanprover/vscode-lean4/pull/623 (now merged).
    2. Install the VS Code extension [TextMate Languages (pedro-w)](https://marketplace.visualstudio.com/items?itemName=pedro-w.tmlanguage).
    3. Open `lean4.json` in VS Code, <kbd>F1</kbd>, and “Convert to tmLanguage PLIST File”.

2. `lean4.tmLanguage` → `lean4.sublime-syntax`

    Open `lean4.tmLanguage` in Sublime text, “Tools → Developer → New Syntax from lean4.tmLanguage…”.
2025-06-10 17:41:33 +08:00
4cfc50c358 theme: add Catppuccin 2025-05-31 14:56:10 +02:00
4c9a51990c Corrects spelling mistake in syntax-test for Typst 2025-05-20 16:35:47 -05:00
fb514ca90f Adds Typst syntax from hyrious/typst-syntax-highlight 2025-05-20 14:43:21 -05:00
e42883bf2c Merge branch 'master' into read-from-tail 2025-04-15 20:27:26 +03:00
14064dd987 regenerated the highlighted file 2025-04-12 19:14:15 +05:30
3eef8590f4 genereated highlighted syntax test file 2025-04-12 18:00:43 +05:30
3e7ad18fe3 fixed merge conflicts 2025-04-12 17:22:18 +05:30
b38ee77628 Merge branch 'master' into fix/multibyte-chars 2025-04-03 00:49:55 -07:00
9272e09058 Make highlight tests fail when new syntaxes don't have fixtures 2025-04-01 13:08:19 -07:00
18b71743c8 Fix for multibyte characters in file path 2025-03-31 17:29:18 -07:00
2e7ab99099 Add Odin submodule and syntax test file 2025-03-28 12:17:45 +00:00
207f90f01b Add GDScript submodule and syntax test file for GDScript support, see #XXX (@chetanjangir0) 2025-03-23 13:24:30 +00:00
ffc094bd91 Add debsources syntax 2025-02-25 22:17:00 +02:00
d31bc4347a Map various .NET file extensions to XML syntax 2025-02-23 20:20:52 +02:00
2843a2c0e8 Add mapping for ndjson file extension to JSON syntax 2025-02-15 08:46:22 +02:00
915eb55779 Merge branch 'master' into syslog_error_highlighting_fix 2025-02-09 22:20:14 +02:00
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
27ba45ded7 patch Monokai Extended theme for better Syslog error highlighting 2025-02-09 20:32:48 +02:00
b82b920420 attempt to fix syslog error highlighting 2025-02-09 20:31:31 +02:00
53af1dc32d Fix clippy::unnecessary_filter_map warnings 2025-02-02 15:08:15 +01:00
6cf747678c Fix clippy::needless_borrows_for_generic_args warnings 2025-02-02 15:08:11 +01:00
d6cb3ba747 [ new ] Add support for Idris 2 programming language 2025-01-27 23:47:20 +03:00
4f161705a3 Fix: Don't output default theme info to piped stdout 2025-01-27 17:11:26 +01:00
8a11a46f66 Add integration tests 2025-01-09 08:20:36 +01:00
96e4882b5c tests: remove serial attribute on and un-ignore applicable lessopen tests 2025-01-05 21:36:33 +00:00
a0a090c307 tests: disable lessopen for help tests 2025-01-05 21:36:33 +00:00
60693db73f Merge branch 'master' into dark-light 2024-11-13 20:33:37 +02:00
3b71837174 Merge branch 'master' into fix/2731_plain_override 2024-10-30 13:06:13 +01:00
8d82402d74 Merge branch 'master' into feature/binary_as_text 2024-10-30 12:46:11 +01:00
649fb05c58 Bump nix from 0.26.4 to 0.29 2024-10-25 09:16:21 +02:00
e667415def Add tests against issue #2731 2024-10-18 12:13:41 +02:00
5be9d19500 Reinforce tests for --list-themes 2024-08-25 11:10:25 +02:00
bc42149a72 Merge color scheme options into theme / BAT_THEME 2024-08-18 14:59:14 +02:00
7cc231b82b Test --binary=as-text 2024-08-18 10:05:43 +02:00
b9b981f657 Generalize --detect-color-scheme to --color-scheme 2024-08-16 14:14:30 +02:00
5c6974703e Respect --detect-color-scheme flag when listing themes 2024-08-16 14:13:58 +02:00
c3b190d45b Disable color detection in test 2024-08-16 14:13:18 +02:00
571970f8ff Merge branch 'master' into read-from-tail 2024-08-10 11:34:45 +02:00
569286055c Support relative negative line ranges 2024-08-10 10:37:19 +02:00
180a77ee99 Add integration tests for merging styles
A huge thanks to @einfachIrgendwer0815 for helping me make sure
these tests work under the MSRV CI job.
2024-07-30 21:22:00 -07:00
de697f7717 add CFML syntax 2024-07-17 15:46:38 -04:00