about summary refs log tree commit diff
path: root/fnl/nvrc/packs/dap.fnl
blob: 5cf444ade24ff4fa891d24c037c2bb35210d781b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(local dap (require :dap))

(set dap.configurations.cpp [{:name :Launch
                         :type :lldb
                         :request :launch
                         :program (fn []
                  (vim.fn.input "Path to executable: " (.. (vim.fn.getcwd) "/")
                                :file))
                         :cwd "${workspaceFolder}"
                         :stopOnEntry false
                         :args {}
                         :runInTerminal false
                         :postRunCommands ["process handle -p true -s false -n false SIGWINCH"]}])

(set dap.configurations.c dap.configurations.cpp)
(set dap.configurations.rust dap.configurations.cpp)

(vim.fn.sign_define :DapStopped {:text :>})