2023-07-10 17:35:18 +00:00
|
|
|
|
[33m⚠ warning[0m: unexpected value for property “[1m/ui/theme-defs/invalid-theme/styles/text/bad-property[0m”
|
|
|
|
|
[36m --> [0m[1m{test_dir}/bad-config2/configs/invalid-theme/config.json[0m:9
|
|
|
|
|
[36m | [0m[37m[40m "bad-property": "abc"[0m
|
|
|
|
|
[36m =[0m [36mhelp[0m: [1mAvailable Properties[0m
|
|
|
|
|
[1mcolor[0m [4m#hex|color_name[0m
|
|
|
|
|
[1mbackground-color[0m [4m#hex|color_name[0m
|
|
|
|
|
[1munderline[0m
|
|
|
|
|
[1mbold[0m
|
2022-09-12 14:18:26 +00:00
|
|
|
|
[1m[31m✘ error[0m: '[1mbad[0m' is not a supported configuration $schema version
|
|
|
|
|
[36m --> [0m[1m{test_dir}/bad-config2/formats/invalid-config/config.bad-schema.json[0m:2
|
|
|
|
|
[36m | [0m[37m[40m "$schema": "bad" [0m
|
|
|
|
|
[36m =[0m [36mnote[0m: expecting one of the following $schema values:
|
|
|
|
|
[1m https://lnav.org/schemas/config-v1.schema.json[0m
|
|
|
|
|
[36m =[0m [36mhelp[0m: [1mProperty Synopsis[0m
|
|
|
|
|
[1m/$schema[0m [4m<schema-uri>[0m
|
|
|
|
|
[1mDescription[0m
|
|
|
|
|
The URI that specifies the schema that describes this type of file
|
|
|
|
|
[1mExample[0m
|
|
|
|
|
https://lnav.org/schemas/config-v1.schema.json
|
|
|
|
|
[33m⚠ warning[0m: unexpected value for property “[1m/ui[0m”
|
|
|
|
|
[36m --> [0m[1m{test_dir}/bad-config2/formats/invalid-config/config.malformed.json[0m:2
|
|
|
|
|
[36m | [0m[37m[40m "ui": "theme", [0m
|
|
|
|
|
[36m =[0m [36mhelp[0m: [1mAvailable Properties[0m
|
|
|
|
|
[1m$schema[0m [4m<schema-uri>[0m
|
|
|
|
|
[1mtuning[0m[1m/[0m
|
|
|
|
|
[1mui[0m[1m/[0m
|
|
|
|
|
[1mlog[0m[1m/[0m
|
|
|
|
|
[1mglobal[0m[1m/[0m
|
|
|
|
|
[1m[31m✘ error[0m: invalid JSON
|
|
|
|
|
[36m --> [0m[1m{test_dir}/bad-config2/formats/invalid-config/config.malformed.json[0m:3
|
|
|
|
|
[36m | [0mparse error: object key and value must be separated by a colon (':')
|
|
|
|
|
[36m | [0m "ui": "theme", "abc", "def": "" }
|
|
|
|
|
[36m | [0m (right here) ------^
|
|
|
|
|
[36m | [0m
|
|
|
|
|
[33m⚠ warning[0m: unexpected value for property “[1m/ui[0m”
|
|
|
|
|
[36m --> [0m[1m{test_dir}/bad-config2/formats/invalid-config/config.truncated.json[0m:2
|
|
|
|
|
[36m | [0m[37m[40m "ui": "theme" [0m
|
|
|
|
|
[36m =[0m [36mhelp[0m: [1mAvailable Properties[0m
|
|
|
|
|
[1m$schema[0m [4m<schema-uri>[0m
|
|
|
|
|
[1mtuning[0m[1m/[0m
|
|
|
|
|
[1mui[0m[1m/[0m
|
|
|
|
|
[1mlog[0m[1m/[0m
|
|
|
|
|
[1mglobal[0m[1m/[0m
|
|
|
|
|
[1m[31m✘ error[0m: invalid JSON
|
|
|
|
|
[1m[31mreason[0m: parse error: premature EOF
|
|
|
|
|
[36m --> [0m[1m{test_dir}/bad-config2/formats/invalid-config/config.truncated.json[0m:3
|
2023-07-10 17:35:18 +00:00
|
|
|
|
[1m[31m✘ error[0m: invalid value for property “[1m/ui/theme-defs/invalid-theme/styles/text/color[0m”
|
|
|
|
|
[1m[31mreason[0m: invalid color -- “InvalidColor”
|
|
|
|
|
[1m[31m | [0m [1m[31mreason[0m: Unknown color: 'InvalidColor'. See https://jonasjacek.github.io/colors/ for a list of supported color names
|
|
|
|
|
[36m --> [0m[1m{test_dir}/bad-config2/configs/invalid-theme/config.json[0m:8
|
2023-07-09 17:06:21 +00:00
|
|
|
|
[36m =[0m [36mhelp[0m: [1mProperty Synopsis[0m
|
2023-07-10 17:35:18 +00:00
|
|
|
|
[1m/ui/theme-defs/invalid-theme/styles/text/color[0m [4m#hex|color_name[0m
|
2023-07-09 17:06:21 +00:00
|
|
|
|
[1mDescription[0m
|
2023-07-10 17:35:18 +00:00
|
|
|
|
The foreground color value for this style. The value can be the name of an xterm color, the hexadecimal value, or a theme variable reference.
|
|
|
|
|
[1mExamples[0m
|
|
|
|
|
#fff
|
|
|
|
|
Green
|
|
|
|
|
$black
|