Civitasv/cmake-tools.nvim

if executor is terminal, then no double quotes around path to build folder

Opened this issue · 3 comments

Bug description

if executor is terminal, then no double quotes around path to build folder

Steps to reproduce

  1. Set in config `cmake_executor -> name = "terminal"

image

Minimal configuration

Expected behavior

path with double or ordinary quotes. ( "/path/to/build foler " or ' /path/to/build folder' )

Screenshots

Environment

  • OS: Gentoo
  • Desktop environment:
  • Plugins commit hash:

Contents in the *cmake-tools* buffer

Use the latest commit, I've fixed it.

It's kinda strange now:
with terminal executor it works now

But with quickfix it does really strange stuff and idk why since in raw console the command that goes to quickfix seems to be good:
image

I can confirm it happens if kit name has spaces.

Oh, it seems similar symptoms happens if just path to project folder contains spaces even when kit name doesn't have spaces.