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