diff --git a/lua/specs/init.lua b/lua/specs/init.lua index 6f2893a..f88a11c 100644 --- a/lua/specs/init.lua +++ b/lua/specs/init.lua @@ -20,6 +20,10 @@ function M.should_show_specs(start_win_id) return false end + if vim.fn.getcmdpos() ~= 0 then + return false + end + if type(opts.ignore_filetypes) ~= 'table' or type(opts.ignore_buftypes) ~= 'table' then return true end