Shatur / neovim-cmake

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

Error in README.MD #18

Closed VrIgHtEr closed 2 years ago

VrIgHtEr commented 2 years ago

At the bottom there is an example DAP configuration which currently says:

require('cmake').setup({
  type = 'codelldb',
  request = 'launch',
  stopOnEntry = false,
  runInTerminal = false,
})

That seems to be incorrect and it should be replaced with:

require('cmake').setup({
  dap_configuration = {
    type = 'codelldb',
    request = 'launch',
    stopOnEntry = false,
    runInTerminal = false,
  }
})
Shatur commented 2 years ago

Thank you!