Skip to content

Documentation: Use codelldb by Mason #79

@theCollectiv

Description

@theCollectiv

Feature description

There is a neat* way to set the codelldb path to Mason. Maybe this can improve the documentation:
mrcjkb/rustaceanvim: Supercharge your Rust experience in Neovim! A heavily modified fork of rust-tools.nvim.

-- codelldb: config with Mason
local path = vim.fn.glob(vim.fn.stdpath("data") .. "/mason/packages/codelldb/extension/") or ""
local codelldb_path = path .. "adapter/codelldb"
local liblldb_path = path .. "lldb/lib/liblldb.so"

The advantage is, that codelldb updates do not have to be kept manually in sync or downloaded, if they are handled by Mason.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions