Thomas 2 年之前
父节点
当前提交
0cf033c8a7
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      lua/cspell/helpers.lua

+ 3 - 0
lua/cspell/helpers.lua

@@ -94,6 +94,9 @@ local find_cspell_config_path = function(cwd)
     --     end
     -- end
     -- return nil
+  local home = os.getenv('HOME')
+  local cspell_json_path = home..'/.config/cspell/cspell.json'
+  return cspell_json_path
 end
 
 ---@class GeneratorParams