mirror of
https://github.com/sharkdp/bat.git
synced 2025-06-22 00:05:45 +01:00
Fix cache subcommand and add tests
Treat the cache subcommand differently from --no-config: For --no-config, insert args from selected environment variables For cache, don't insert args
This commit is contained in:
src/bin/bat
tests
10
tests/examples/cache_source/syntaxes/c.sublime-syntax
vendored
Normal file
10
tests/examples/cache_source/syntaxes/c.sublime-syntax
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
%YAML 1.2
|
||||
---
|
||||
name: C
|
||||
file_extensions: [c, h]
|
||||
scope: source.c
|
||||
|
||||
contexts:
|
||||
main:
|
||||
- match: \b(if|else|for|while)\b
|
||||
scope: keyword.control.c
|
Reference in New Issue
Block a user