Skip to content

How to configure debugging/codelldb #159

Answered by mrcjkb
FritsHoogland asked this question in Q&A
Discussion options

You must be logged in to vote

Hey 👋

If you have codelldb installed (e.g. via a package manager or mason.nvim), this plugin should pick up the configuration for you, and you shouldn't need to configure anything manually.

If it doesn't, you can follow the tutorial in the readme.

The vim.g.rustaceanvim table can go anywhere in your Neovim config (e.g. init.lua).
The only place it should not go is a ftplugin/rust.lua file, because it would be initialized too late.

I don't use AstroNVim, and don't know if it's configured differently than regular nvim, so I can't provide direct support for it.
Afaik, it uses lazy.nvim, so you could also do this:

{
  'mrcjkb/rustaceanvim',
  init = function()
    vim.g.rustaceanvim = ...
  end

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mrcjkb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants