Commit dc1d61c
committed
fix: load model info synchronously and use %= for winbar right-alignment
- Fall back to :wait(200) in get_model_info when :peek() returns nil
so providers data is available on first render, enabling percentage
- Replace manual space-padding winbar alignment with neovim's %=
statusline directive for reliable right-alignment regardless of
description character width1 parent 8375a9d commit dc1d61c
2 files changed
Lines changed: 10 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
72 | 80 | | |
73 | 81 | | |
74 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 49 | + | |
| 50 | + | |
64 | 51 | | |
65 | 52 | | |
66 | 53 | | |
| |||
0 commit comments