Closed arcashka closed 2 years ago
Can't reproduce using your steps on my machine. Tested on ArchLinux with Neovim 0.6.1 and CMake 3.22.1.
I managed to make a minimal config with only neovim-cmake. And bug is gone. That's my bad, sorry. I'm gonna try to fix it in my config.
So I'm gonna close this issue.
Bug description CMake select_target fails with error:
Steps to reproduce
I use default neovim-cmake settings. Steps:
Expected behavior Target selection works
Environment
86c74676f73096d5d979a524d832d74c243de15c
Additional context I tried to debug it myself and got to this: If I change function
ProjectConfig:get_codemodel_targets
to thisI get this in
:Notifications
This folder exists. And there is a file
codemodel-v2-750e6d2bc098a122e68e.json
. So I don't understand whyvim.fn.globpath
returns empty value. I'm totally new to lua too, so I can't make a progress with debug.