aboutsummaryrefslogtreecommitdiff
path: root/fnl/dap
diff options
context:
space:
mode:
authoramelia squires <[email protected]>2024-11-13 06:17:23 -0600
committeramelia squires <[email protected]>2024-11-13 06:17:23 -0600
commit804f2a342d1b2002ad383ff604e75eb0caba8f65 (patch)
tree0c23239e32ec36f6d9e84ac4d2099194881fd180 /fnl/dap
parente47fa485563a8a806c52f66a18471bbf012ac5c1 (diff)
ton of new stuff
Diffstat (limited to 'fnl/dap')
-rw-r--r--fnl/dap/adapters/coreclr.fnl3
-rw-r--r--fnl/dap/adapters/lldb.fnl3
-rw-r--r--fnl/dap/configurations/c.fnl7
-rw-r--r--fnl/dap/configurations/cpp.fnl1
-rw-r--r--fnl/dap/configurations/cs.fnl5
-rw-r--r--fnl/dap/configurations/rust.fnl1
6 files changed, 20 insertions, 0 deletions
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")