File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 131131
132132-- Main function to scan for kits
133133function scanner .scan_for_kits ()
134- vim .notify (" Scanning for kits…" )
135-
136134 local executables = get_path_executables ()
137135 local toolchains = discover_toolchains (executables )
138136 local kits = {}
@@ -160,11 +158,6 @@ function scanner.scan_for_kits()
160158 local toolchain_file = find_toolchain_file (tc .prefix )
161159 if toolchain_file then
162160 kit .toolchainFile = toolchain_file
163- vim .notify (" Toolchain file found: " .. toolchain_file )
164- else
165- if tc .prefix ~= " " then
166- vim .notify (" No toolchain file found for prefix: " .. tc .prefix , vim .log .levels .WARN )
167- end
168161 end
169162 table.insert (kits , kit )
170163 end
@@ -175,11 +168,7 @@ function scanner.scan_for_kits()
175168 local json_kits = vim .fn .json_encode (kits )
176169 if json_kits then
177170 vim .fn .writefile ({ json_kits }, constants .cmake_kits_path )
178- vim .notify (" Kits saved to: " .. constants .cmake_kits_path )
179- else
180- vim .notify (" Failed to encode kits to JSON." , vim .log .levels .ERROR )
181171 end
182- vim .notify (" Scanning complete." )
183172 return kits
184173end
185174
You can’t perform that action at this time.
0 commit comments