Skip to content

Commit

Permalink
docs(readme): add codelldb example for use with mason.nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Dec 1, 2023
1 parent 61521fa commit bd86b03
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,10 @@ you can configure it as follows:
vim.g.rustaceanvim = function()
-- Update this path
local extension_path = vim.env.HOME .. '/.vscode/extensions/vadimcn.vscode-lldb-1.10.0/'
-- Or, if using mason.nvim:
local extension_path = vim.fn.glob(vim.fn.stdpath("data")
.. "/mason/packages/codelldb/extension/")
or ""
local codelldb_path = extension_path .. 'adapter/codelldb'
local liblldb_path = extension_path .. 'lldb/lib/liblldb'
local this_os = vim.uv.os_uname().sysname;
Expand Down

0 comments on commit bd86b03

Please sign in to comment.