From 804f2a342d1b2002ad383ff604e75eb0caba8f65 Mon Sep 17 00:00:00 2001 From: amelia squires Date: Wed, 13 Nov 2024 06:17:23 -0600 Subject: ton of new stuff --- fnl/dap/adapters/coreclr.fnl | 3 +++ fnl/dap/adapters/lldb.fnl | 3 +++ fnl/dap/configurations/c.fnl | 7 +++++++ fnl/dap/configurations/cpp.fnl | 1 + fnl/dap/configurations/cs.fnl | 5 +++++ fnl/dap/configurations/rust.fnl | 1 + 6 files changed, 20 insertions(+) create mode 100644 fnl/dap/adapters/coreclr.fnl create mode 100644 fnl/dap/adapters/lldb.fnl create mode 100644 fnl/dap/configurations/c.fnl create mode 100644 fnl/dap/configurations/cpp.fnl create mode 100644 fnl/dap/configurations/cs.fnl create mode 100644 fnl/dap/configurations/rust.fnl (limited to 'fnl/dap') diff --git a/fnl/dap/adapters/coreclr.fnl b/fnl/dap/adapters/coreclr.fnl new file mode 100644 index 0000000..1196a92 --- /dev/null +++ b/fnl/dap/adapters/coreclr.fnl @@ -0,0 +1,3 @@ +{ + :type "executable" + :command "netcoredbg"} diff --git a/fnl/dap/adapters/lldb.fnl b/fnl/dap/adapters/lldb.fnl new file mode 100644 index 0000000..987d80d --- /dev/null +++ b/fnl/dap/adapters/lldb.fnl @@ -0,0 +1,3 @@ +{ + :type "executable" + :command "lldb-dap"} diff --git a/fnl/dap/configurations/c.fnl b/fnl/dap/configurations/c.fnl new file mode 100644 index 0000000..2a9375a --- /dev/null +++ b/fnl/dap/configurations/c.fnl @@ -0,0 +1,7 @@ +[{ + :name "Launch" + :type "lldb" + :request "launch" + :program (fn [] (vim.fn.input "Path to executable" (.. (vim.fn.getcwd) "/") "file")) + :cwd "${workspaceFolder}" + :stopAtBeginningOfMainSubprogram false}] diff --git a/fnl/dap/configurations/cpp.fnl b/fnl/dap/configurations/cpp.fnl new file mode 100644 index 0000000..808050f --- /dev/null +++ b/fnl/dap/configurations/cpp.fnl @@ -0,0 +1 @@ +(require "dap.configurations.c") diff --git a/fnl/dap/configurations/cs.fnl b/fnl/dap/configurations/cs.fnl new file mode 100644 index 0000000..c1bf097 --- /dev/null +++ b/fnl/dap/configurations/cs.fnl @@ -0,0 +1,5 @@ +[{ + :type "coreclr" + :name "launch - netcoredbg" + :request "launch" + :program (fn [] (vim.fn.input "path to dll" (.. (vim.fn.getcwd) "/bin/Debug/") "file"))}] diff --git a/fnl/dap/configurations/rust.fnl b/fnl/dap/configurations/rust.fnl new file mode 100644 index 0000000..808050f --- /dev/null +++ b/fnl/dap/configurations/rust.fnl @@ -0,0 +1 @@ +(require "dap.configurations.c") -- cgit v1.2.3