소스 검색

change log level to warn

CPea 1 년 전
부모
커밋
f94f988a23
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      lua/lvim/core/indentlines.lua

+ 3 - 2
lua/lvim/core/indentlines.lua

@@ -78,10 +78,11 @@ M.setup = function()
   if err then
     local invalid_key = err:match "'(.*)'"
 
-    vim.notify(
+    vim.notify_once(
       "`lvim.builtin.indentlines.options."
         .. invalid_key
-        .. "` has been deprecated. Please take a look at `:h ibl.config` to learn about new config and update."
+        .. "` has been deprecated. Please take a look at `:h ibl.config` to learn about new config and update.",
+      vim.log.levels.WARN
     )
   end