about summary refs log tree commit diff
path: root/fnl/nvrc/packs/rust.fnl
blob: 90024b8f8fba996ef466ed36209a76a789f9dd75 (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) "/.codelldb/share/vscode/extensions/vadimcn.vscode-lldb/")
      codelldb-path (.. extension-path "adapter/codelldb")
      liblldb-path (.. extension-path "lldb/lib/liblldb.so")]
  (setup {:dap {:adapter (rust-tools-dap.get_codelldb_adapter codelldb-path liblldb-path)}}))