Commit Graph
100 Commits
Author SHA1 Message Date
sharkdp dfe5eb3e98 Add an even simple example 2020-03-21 22:21:23 +01:00
sharkdp 2c2861db6a Further simplify module structure 2020-03-21 22:21:23 +01:00
sharkdp bb0a3d586e Simplify public API module structure 2020-03-21 22:21:23 +01:00
sharkdp 90397a8aac Hide SyntaxMapping::replace 2020-03-21 22:21:23 +01:00
sharkdp 84ba323b1c Rename output component to 'style compinent', move wrap to separate module 2020-03-21 22:21:23 +01:00
sharkdp a8851e1307 Hide methods from line_range 2020-03-21 22:21:23 +01:00
sharkdp d4a39f99d2 Hide API of InputFileReader 2020-03-21 22:21:23 +01:00
sharkdp 8c500a7e40 Hide get_syntax, move tests to module 2020-03-21 22:21:23 +01:00
sharkdp acf51bd7b3 Rename methods and parameters 2020-03-21 22:21:23 +01:00
sharkdp 83dc13a86d Add fallback theme, remove BAT_THEME_DEFAULT 2020-03-21 22:21:23 +01:00
sharkdp 094c526a0e Hide some methods from HighlightingAssets 2020-03-21 22:21:23 +01:00
sharkdp 62f2d0c100 Do not export syntax_set and theme_set 2020-03-21 22:21:23 +01:00
sharkdp fc1ca0875a Move error handling to a callback 2020-03-21 22:21:23 +01:00
sharkdp a7338e2ea2 Run cargo fmt 2020-03-21 22:21:23 +01:00
sharkdp 9b8ddb24d1 move Config struct to separate file 2020-03-21 22:21:23 +01:00
sharkdp 7e0115641d Move error module to separate file 2020-03-21 22:21:23 +01:00
sharkdp fedd32173e Restructure and fix bug in line range module 2020-03-21 19:19:15 +01:00
sharkdp 4855a47105 Rename enum field 2020-03-21 19:19:15 +01:00
sharkdp 06b7be7ee9 Major restructuring of theme/syntax handling 2020-03-21 19:19:15 +01:00
sharkdp 9a9902bf9b Remove custom .github settings 2020-03-16 07:54:55 +01:00
sharkdp 4e40d4c720 Major update for the man page, closes #573 2020-03-15 23:15:30 +01:00
sharkdp 916c1e4359 Update assets 2020-03-15 22:33:26 +01:00
sharkdp 439be03634 Remove duplicate F# syntax 2020-03-15 22:33:26 +01:00
sharkdp b611d2aef4 Add no-duplicate-extensions unit test 2020-03-15 22:33:26 +01:00
sharkdp a2075b0f24 Update git dependency 2020-03-15 21:00:23 +01:00
sharkdp 3c1dd8558d Update links 2020-03-15 12:03:25 +01:00
sharkdp 17382d36b7 Update dependencies 2020-03-15 11:46:24 +01:00
sharkdp 1bc62cd7b5 Add syntax detection unit tests 2020-03-11 10:08:11 +01:00
sharkdp b1183f72a5 Update to new assert_cmd 2020-03-09 21:30:46 +01:00
sharkdp dd9755f223 Update dependencies 2020-03-06 23:54:58 +01:00
sharkdp 61e39158de Install fish completions into 'vendor_completions.d', fixes #651 2020-03-06 23:47:26 +01:00
sharkdp 91843f6f65 Update 'JavaScript (Babel).sublime-syntax' 2020-03-06 23:43:16 +01:00
sharkdp 4d2682325b Update TypeScript.sublime-syntax 2020-03-06 23:40:53 +01:00
sharkdp f2b7c060a3 Add link to Choco package 2020-03-06 23:39:17 +01:00
sharkdp 08dd251b9c Update Windows install instructions 2020-03-06 23:38:07 +01:00
sharkdp 147503bd56 Add CoffeeScript syntax, closes #833 2020-03-06 23:29:08 +01:00
sharkdp d1b0e955ea Update dependencies 2020-03-06 23:29:08 +01:00
sharkdp ca066bf7cd Run 'cargo fmt' 2020-02-28 10:27:06 +01:00
sharkdp 4ac3161c19 Rename label syntax-request 2020-02-28 09:47:27 +01:00
sharkdp d479e07bcb Rename label 2020-02-28 09:46:33 +01:00
sharkdp 369ba7bb0a Remove title prefix (we already have labels for that) 2020-02-28 09:39:38 +01:00
sharkdp 9df85edc4c Add 'question' template 2020-02-28 09:36:46 +01:00
sharkdp 7d453dfdc5 Simplify issue templates 2020-02-28 09:30:28 +01:00
sharkdp d1bb47d741 Bump min. required Rust version to 1.36 2020-02-27 23:09:03 +01:00
sharkdp 7779d9f622 Allow for non-unicode filenames, closes #225 2020-02-13 08:25:04 +01:00
sharkdp eabd100dad Simplify Travis caching 2020-01-04 16:02:57 +01:00
sharkdp 8d0b8a227b Add test for less 529 2019-12-23 13:01:14 +01:00
sharkdp e400ebd1bd Also pass '--no-init' if version could not be retrieved 2019-12-23 12:45:23 +01:00
sharkdp 6684c0b07a Remove example line from config file 2019-12-23 12:45:23 +01:00
sharkdp 6568d03924 Update README 2019-12-23 12:45:23 +01:00
sharkdp 67fe804256 Do not pass '--no-init' on newer less versions
With this change, we do not pass the `--no-init` option in newer
versions of less (530 or higher).

This fixes #749
2019-12-23 12:45:23 +01:00
sharkdp 126729f87a Enable LTO
closes #719
2019-12-22 16:46:55 +01:00
sharkdp 0aca27511a Add simple /proc/meminfo syntax, see #593 2019-12-22 16:25:39 +01:00
sharkdp 77ff853739 Add simple /proc/cpuinfo syntax, see #593 2019-12-22 16:22:32 +01:00
sharkdp 20ba984c6d Update help text, closes #713 2019-12-22 16:05:00 +01:00
sharkdp 40e5befdc7 Minor change 2019-12-15 20:55:48 +01:00
sharkdp 8d3ce5f88a Manually convert PowerShell.sublime-syntax 2019-12-09 23:40:31 +01:00
sharkdp d43431d8f1 Manually convert Crystal.sublime-syntax 2019-12-09 23:39:07 +01:00
sharkdp 01846fad30 Manually convert Nix.sublime-syntax 2019-12-09 23:37:41 +01:00
sharkdp 7b94f2c1d7 Manually convert Cabal.sublime-syntax 2019-12-09 23:36:28 +01:00
sharkdp 75cb1ce196 Manually convert Robot.sublime-syntax 2019-12-09 23:34:50 +01:00
sharkdp e981e97407 Manually convert DotENV.sublime-syntax 2019-11-06 20:23:07 +01:00
sharkdp f4a59d74f1 Manually convert TypeScript.sublime-syntax 2019-11-06 20:21:53 +01:00
sharkdp d65ae517dd Rename Fish syntax folder 2019-11-06 20:19:01 +01:00
sharkdp bb675e57c7 Remove manually converted fish syntax 2019-11-06 20:16:25 +01:00
sharkdp 37f7c94ba4 Properly add Twig submodule, closes #721 2019-11-05 20:33:16 +01:00
sharkdp 396e1ac6b6 Add simple pattern for command-line options 2019-11-05 07:13:33 +01:00
sharkdp 49e2073910 Highlight capitalized function calls / man page references 2019-11-05 07:13:33 +01:00
sharkdp 850677f121 Remove 'advanced' example 2019-10-30 19:47:51 +01:00
sharkdp c132e19e74 Make a few modules private 2019-10-30 19:47:51 +01:00
sharkdp 3334f74b72 Remove custom 'transpose' function 2019-10-30 19:47:51 +01:00
sharkdp b9ce3c248c Simplify 'using_controller' example 2019-10-30 19:47:51 +01:00
sharkdp 0a42d2b897 Add Nim syntax, closes #542 2019-10-30 19:47:24 +01:00
sharkdp f03b45f3e5 Update TOML syntax 2019-10-20 20:48:14 +02:00
sharkdp 9a74bf1a88 Disable nightly build 2019-10-19 18:20:15 +02:00
sharkdp 00bfbbf884 Add section concerning file encodings, see #568 2019-10-11 21:47:40 +02:00
sharkdp f5d359927a Fix 'bat cache other-arg', closes #666 2019-09-21 09:10:12 +02:00
sharkdp 4df5973fde Replace 'Printer' by 'needle' 2019-09-21 09:01:54 +02:00
sharkdp 45f3c73331 Extend 'man' integration section 2019-09-21 08:51:26 +02:00
sharkdp 4102175d98 Add '-x' flag for 'col', see #652, see #667 2019-09-21 08:44:26 +02:00
sharkdp 608cefb05c Bump version 2019-09-03 08:07:42 +02:00
sharkdp 79f016e15c Update syntaxes 2019-08-31 20:58:16 +02:00
sharkdp 26f9125ebb Re-formulate help text 2019-08-31 20:56:53 +02:00
sharkdp 9814eab13f Suppress warning in -A mode 2019-08-31 20:56:53 +02:00
sharkdp 82ca8804a2 Handle non-unicode characters in the preprocessor 2019-08-31 20:56:53 +02:00
sharkdp c64ab29739 Update min. required rust version 2019-08-31 14:48:42 +02:00
sharkdp 83dd3fb551 Update man page 2019-08-31 14:47:04 +02:00
sharkdp ed345f2889 Fix headline 2019-08-31 14:44:11 +02:00
sharkdp d2492980c0 Update syntaxes and themes 2019-08-31 14:43:20 +02:00
sharkdp 47d5130764 Bump version 2019-08-31 14:43:04 +02:00
sharkdp 4ba45e2ba2 Add first version of 'man page' syntax, closes #523 2019-08-31 14:32:37 +02:00
sharkdp 7076ae5cd9 Update dependencies 2019-08-31 14:14:08 +02:00
sharkdp 2e71146801 Fix another instance of the 'bat cache' bug, closes #584 2019-08-31 14:13:36 +02:00
sharkdp f3824bad17 Add explicit terminal width for test 2019-08-31 13:46:48 +02:00
sharkdp ec908d5937 Run 'cargo fmt' 2019-08-31 13:46:48 +02:00
sharkdp 3a75d85b80 Add test for 'snip' feature 2019-08-31 13:46:48 +02:00
sharkdp 63d652dab5 Add 'dyn' keyword for trait references 2019-08-31 13:46:48 +02:00
sharkdp e289a2c698 Add short '-L' option as an alias for --list-languages 2019-08-31 13:22:16 +02:00
sharkdp 83a213bae7 Add 'strace' syntax, closes #599 2019-08-31 13:13:42 +02:00
sharkdp 3967e28ded Add SCSS and Sass syntax, closes #637 2019-08-31 13:09:38 +02:00