Thomas 2 سال پیش
والد
کامیت
dfd6c812a7
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      lua/cspell/helpers.lua

+ 2 - 1
lua/cspell/helpers.lua

@@ -110,7 +110,8 @@ M.get_cspell_config = function(params)
     local code_action_config = params:get_config()
     local decode_json = code_action_config.decode_json or vim.json.decode
 
-    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"
 
     if cspell_json_path == nil or cspell_json_path == "" then
         return