-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
JSON highlighting doesn't look right #1099
Copy link
Copy link
Closed
Labels
Description
What version of bat are you using?
bat 0.15.4
Describe the bug you encountered:
Bat does not seem to highlight JSON files very well. Specifically, there's almost no highlighting at all, even though the screenshots would indicate it knows how to highlight keys differently to values in maps.

Describe what you expected to happen?
Something that looks more like the picture on #48

How did you install bat?
homebrew
system
$ uname -srm
Darwin 18.7.0 x86_64
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.14.6
BuildVersion: 18G5033
bat
$ bat --version
bat 0.15.4
$ env
bat_config
bat_wrapper
No wrapper script for 'bat'.
bat_wrapper_function
No wrapper function for 'bat'.
No wrapper function for 'cat'.
tool
$ less --version
less 487 (POSIX regular expressions)
Reactions are currently unavailable