Civitasv / cmake-tools.nvim

CMake integration in Neovim
GNU General Public License v3.0
380 stars 68 forks source link

Invalid cwd configuration #279

Open rgzntrade opened 10 hours ago

rgzntrade commented 10 hours ago

Replication:

  1. executable path: /a/debug/exe
  2. cwd path: /a
  3. config path: /a/config CMakeRun Status: cd /a/debug/ && .exe, can't use /a/config Expected: . /a/debug/exe, can use /a/config
rgzntrade commented 10 hours ago

Should be like std::filesystem::current_path(argv[1]);, but not directly using std::filesystem::current_path(argv[1]);.

rgzntrade commented 10 hours ago

By the way one should not create both buffer and terminal at the same time, one can create the terminal in the buffer. This way you don't have to create a window and the viewing area is bigger.