We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e58c87d commit a1bc307Copy full SHA for a1bc307
1 file changed
lua/cmake-tools/scanner.lua
@@ -1,7 +1,7 @@
1
+local const = require("cmake-tools.const")
2
local scanner = {}
3
-- Configuration
-scanner.HOME = os.getenv("HOME") or os.getenv("USERPROFILE")
4
-scanner.KITS_FILE = scanner.HOME .. "/.config/cmake-tools/cmake-kits.json"
+scanner.KITS_FILE = const.cmake_kits_path
5
6
--Helper functions
7
-- Simple JSON encoder
0 commit comments