Shatur / neovim-cmake

CMake integration for Neovim
GNU General Public License v3.0
87 stars 19 forks source link

Setting and command for multiple DAP Configurations #50

Closed Natr1x closed 2 years ago

Natr1x commented 2 years ago

Adds the option to specify multiple dap configurations during setup and a command select_dap_config which prompts the user to pick a configuration to be used for the current project.

The choice is also stored in the ProjectConfiguration json file.

While it changes the dap_configuration setting from a table to a string in the defaults it is still backwards compatible with the old style.

I e you can still specify a single table with configurations if you don't want to use the new dap_configurations setting.

Shatur commented 2 years ago

Thanks! Please, fix the formatting (or I can do it if you don't want to install stylua), resolve the second conversation and this will be ready to merge.

Shatur commented 2 years ago

Thank you a lot!

Shatur commented 2 years ago

One minor style adjustment is still needed.