Commit dd84883
committed
fix(lspsaga): guard against nil colors_name in catppuccin check
vim.g.colors_name is nil until a colorscheme is applied (verified via
nvim --clean), so calling :find() on it directly could error if this
module loads before any :colorscheme. Coalesce to an empty string.1 parent 11c975f commit dd84883
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments