Thomas 2 năm trước cách đây
mục cha
commit
0cf033c8a7
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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