From 13256a3acf46e5f991f48dd21337ee10a435d43e Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Mon, 17 Jun 2024 17:59:37 -0500 Subject: [PATCH] fix: properly warn on invalid spec --- lua/http-codes.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lua/http-codes.lua b/lua/http-codes.lua index de7c6c4..5467086 100644 --- a/lua/http-codes.lua +++ b/lua/http-codes.lua @@ -20,7 +20,10 @@ M.setup = function(user_config) user_config.use == nil or not vim.tbl_contains({ 'fzf', 'telescope' }, user_config.use) then - vim.notify_once 'http-codes.nvim: must specify `use = {fzf,telescope}` in setup.' + vim.notify_once( + 'http-codes.nvim: must specify `use = {fzf,telescope}` in setup.', + vim.log.levels.ERROR + ) return end