diff options
Diffstat (limited to 'plugin/50-color.lua')
| -rw-r--r-- | plugin/50-color.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin/50-color.lua b/plugin/50-color.lua index 4cdbad0..c88e34b 100644 --- a/plugin/50-color.lua +++ b/plugin/50-color.lua @@ -80,11 +80,13 @@ local function spell_status() end --[[ Custom status flags: `+F` when formatting is on for the buffer, `+H` when LSP inlay hints are on, -`+R` when disk-change autoreload is enabled (see 50-autoreload.lua), followed by the spell flag. ]] +`+R` when disk-change autoreload is enabled (see 50-autoreload.lua), `+T` when terminal follow is on +(see :TerminalFollow), followed by the spell flag. ]] local function statuses() return (vim.b.format and "+F" or "") .. (vim.lsp.inlay_hint.is_enabled({ bufnr = 0 }) and "+H" or "") .. (vim.g.autoreload and "+R" or "") + .. (vim.b.terminal_follow and "+T" or "") .. (vim.o.spell and spell_status() or "") end |
