From 20be50c7651a47813020797075d8c34150e79abd Mon Sep 17 00:00:00 2001 From: Vhyrro Date: Tue, 26 Mar 2024 17:56:52 +0100 Subject: [PATCH] chore: remove diagnostics for bufexists --- lua/neorg/modules/core/ui/module.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/neorg/modules/core/ui/module.lua b/lua/neorg/modules/core/ui/module.lua index 60938c84e..8d2c988ae 100644 --- a/lua/neorg/modules/core/ui/module.lua +++ b/lua/neorg/modules/core/ui/module.lua @@ -101,7 +101,7 @@ module.public = { local bufname = "neorg://" .. name - if vim.fn.bufexists(bufname) == 1 then + if vim.fn.bufexists(bufname) == 1 then ---@diagnostic disable-line log.error("Buffer '" .. name .. "' already exists") return end