Fix nvim starter page displaying when arguments were passed
This commit is contained in:
parent
44659f85fe
commit
6da8078cc3
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue