Thomas 2 年之前
父節點
當前提交
3c3298d380
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      lua/cspell/helpers.lua

+ 4 - 4
lua/cspell/helpers.lua

@@ -113,10 +113,10 @@ M.get_cspell_config = function(params)
     -- local cspell_json_path = M.get_config_path(params)
     -- local cspell_json_path = M.get_config_path(params)
 local cspell_json_path = "~/.config/cspell/cspell.json"
 local cspell_json_path = "~/.config/cspell/cspell.json"
 
 
-    if cspell_json_path == nil or cspell_json_path == "" then
-        return
-    end
-
+    -- if cspell_json_path == nil or cspell_json_path == "" then
+    --     return
+    -- end
+    --
     local content = Path:new(cspell_json_path):read()
     local content = Path:new(cspell_json_path):read()
     local ok, cspell_config = pcall(decode_json, content)
     local ok, cspell_config = pcall(decode_json, content)