fix(noice): dont show old messages when installing plugins

This commit is contained in:
Folke Lemaitre
2024-06-25 00:24:38 +02:00
parent 351336244c
commit faee8ce581
2 changed files with 10 additions and 3 deletions

View File

@ -8,9 +8,6 @@ return {
"pwntester/octo.nvim",
cmd = "Octo",
event = { { event = "BufReadCmd", pattern = "octo://*" } },
init = function()
vim.treesitter.language.register("markdown", "octo")
end,
opts = {
enable_builtin = true,
default_to_projects_v2 = true,
@ -41,6 +38,7 @@ return {
{
"pwntester/octo.nvim",
opts = function(_, opts)
vim.treesitter.language.register("markdown", "octo")
if LazyVim.has("telescope.nvim") then
opts.picker = "telescope"
elseif LazyVim.has("fzf-lua") then