diff options
Diffstat (limited to 'fnl/dap')
-rw-r--r-- | fnl/dap/adapters/coreclr.fnl | 3 | ||||
-rw-r--r-- | fnl/dap/adapters/lldb.fnl | 3 | ||||
-rw-r--r-- | fnl/dap/configurations/c.fnl | 7 | ||||
-rw-r--r-- | fnl/dap/configurations/cpp.fnl | 1 | ||||
-rw-r--r-- | fnl/dap/configurations/cs.fnl | 5 | ||||
-rw-r--r-- | fnl/dap/configurations/rust.fnl | 1 |
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") |