cmake-tools.nvim icon indicating copy to clipboard operation
cmake-tools.nvim copied to clipboard

Recursively respect `include` directives in CMake presets files

Open mous16 opened this issue 4 days ago • 0 comments

With respect to #310 , this PR aims to handle include directives in CMake presets files, allowing to parse also the directives in included files recursively, and avoiding multiple inclusion of same file.

I've also added some stricter controls on CMakePresets and CMakeUserPresets file names, to avoid wrong deduction of include fields.

I'm not a Lua developer, so the code may not be perfect.
Please, let me know if it requires some changes to be acceptable.

mous16 avatar Jan 13 '26 13:01 mous16