We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8975ae3 commit 12d1018Copy full SHA for 12d1018
1 file changed
lua/cmake-tools/scanner.lua
@@ -169,6 +169,9 @@ function scanner.scan_for_kits()
169
table.insert(kits, kit)
170
end
171
172
+ if vim.fn.isdirectory(constants.cmake_config_path) == 0 then
173
+ vim.fn.mkdir(constants.cmake_config_path, "p")
174
+ end
175
local json_kits = vim.fn.json_encode(kits)
176
if json_kits then
177
vim.fn.writefile({ json_kits }, constants.cmake_kits_path)
0 commit comments