We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3a5d4d commit 9e65028Copy full SHA for 9e65028
1 file changed
lua/cmake-tools/presets.lua
@@ -67,6 +67,10 @@ local function decode(file, visited)
67
end
68
69
for _, include_path in ipairs(includes) do
70
+ include_path = include_path:gsub("%$penv{(.-)}", function(envVar)
71
+ return vim.env[envVar] or ""
72
+ end)
73
+
74
local included_file_str
75
local f_path = Path:new(include_path)
76
if f_path:is_absolute() then
0 commit comments