Refactor mode indicator to remove itself

One of the problems we had is that the status_bar shows a gap between
items, and we want to not add an additional gap for an invisible status
indicator.
This commit is contained in:
Conrad Irwin 2023-07-24 09:37:48 -06:00
parent d14a484a20
commit 43d94e37ec
7 changed files with 142 additions and 41 deletions

View file

@ -27,7 +27,7 @@ export default function status_bar(): any {
},
border: border(layer, { top: true, overlay: true }),
cursor_position: text(layer, "sans", "variant"),
vim_mode: text(layer, "sans", "variant"),
vim_mode_indicator: text(layer, "mono", "variant"),
active_language: interactive({
base: {
padding: { left: 6, right: 6 },