helix-mirror/runtime
Omnikar 98ce2a301d Load alt default theme if true color is not supported
* Move `runtime/themes/base16_default_terminal.toml` to
  `base16_theme.toml` alongside `theme.toml`
* Use `terminfo` crate to detect whether the terminal supports true
  color and, if the user has no theme configured and their terminal does
  not support true color, load the alt default theme instead of the
  normal default.

Remove `terminfo` dependency, use `COLORTERM` env instead

Prevent user from switching to an unsupported theme

Add `true-color-override` option

If the terminal is wrongly detected to not support true color,
`true-color-override = true` will override the detection.

Rename `true-color-override` to `true-color`
2021-12-14 00:47:18 +09:00
..
grammars Dynamically load grammar libraries at runtime 2021-07-14 10:00:05 +09:00
queries Add llvm grammar (#1167) 2021-11-29 10:38:17 +09:00
themes Load alt default theme if true color is not supported 2021-12-14 00:47:18 +09:00
tutor.txt Continue tutor (#737) 2021-10-16 12:47:45 +09:00