Skip to content

Commit

Permalink
chore: remove diagnostics for bufexists
Browse files Browse the repository at this point in the history
  • Loading branch information
vhyrro committed Mar 26, 2024
1 parent eef1705 commit 20be50c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/neorg/modules/core/ui/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 20be50c

Please sign in to comment.