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