blob: 79c5a517f4e83c6a67c6d58397970b7d1df01a5f (
plain)
1
2
3
4
5
6
7
|
(local {: setup} (require :rust-tools))
(let [rust-tools-dap (require :rust-tools.dap)
extension-path (.. (os.getenv :HOME) "/.vscode/extensions/vadimcn.vscode-lldb-1.8.1/")
codelldb-path (.. extension-path "adapter/codelldb")
liblldb-path (.. extension-path "lldb/lib/liblldb.so")]
(setup {:server {:settings {:rust-analyzer {:files {:excludeDirs [:.direnv]}}}} :dap {:adapter (rust-tools-dap.get_codelldb_adapter codelldb-path liblldb-path)}}))
|