Thomas před 2 roky
rodič
revize
0cf033c8a7
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  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