We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72abb00 commit 1898714Copy full SHA for 1898714
1 file changed
lua/cmake-tools/file_picker.lua
@@ -97,6 +97,11 @@ function M.show_target_files(target)
97
log.info(vim.inspect(target))
98
99
local targets = config:get_codemodel_targets()
100
+ if targets.code ~= Types.SUCCESS then
101
+ log.warn("Target not found in CodeModel")
102
+ return
103
+ end
104
+
105
for _, v in pairs(targets.data) do
106
if v.name == target then
107
pickers
0 commit comments