diff --git a/home/features/neovim/config/lua/my/starter.lua b/home/features/neovim/config/lua/my/starter.lua index d52cd30..46dbe24 100644 --- a/home/features/neovim/config/lua/my/starter.lua +++ b/home/features/neovim/config/lua/my/starter.lua @@ -126,6 +126,10 @@ end M.refresh = function(buf_id) buf_id = buf_id or vim.api.nvim_get_current_buf() + if vim.api.nvim_buf_get_option(buf_id, "ft") ~= "starter" then + return + end + local config = M.config -- Normalize certain config values