Skip to content

Commit 005430d

Browse files
committed
fix: Only warn once about NeoVim version
1 parent f6987a6 commit 005430d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/debugprint/init.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ M.add_custom_filetypes = function(filetypes)
298298
end
299299

300300
if vim.fn.has("nvim-0.8.0") ~= 1 then
301-
vim.notify(
301+
vim.notify_once(
302302
"WARNING: debugprint.nvim is only compatible with NeoVim 0.8+",
303303
vim.log.levels.WARN
304304
)

0 commit comments

Comments
 (0)