summaryrefslogtreecommitdiff
path: root/mut
diff options
context:
space:
mode:
authorMike Vink <ivi@vinkies.net>2024-01-16 15:30:04 +0100
committerMike Vink <ivi@vinkies.net>2024-01-16 15:30:04 +0100
commitec5a543f7a684e23d2b5525deb43e6ea94186ecc (patch)
treef782ab1ec22a2a4150cba0cc6d9c9e2bd3d52b38 /mut
parent51568cf1e1195aa53028c225802da429841904df (diff)
fix some things
Diffstat (limited to 'mut')
-rw-r--r--mut/neovim/fnl/conf/events.fnl2
-rw-r--r--mut/neovim/fnl/conf/pkgs/dap.fnl2
2 files changed, 3 insertions, 1 deletions
diff --git a/mut/neovim/fnl/conf/events.fnl b/mut/neovim/fnl/conf/events.fnl
index 65e8f8d..60ec28b 100644
--- a/mut/neovim/fnl/conf/events.fnl
+++ b/mut/neovim/fnl/conf/events.fnl
@@ -34,7 +34,7 @@
{:group "conf#events"
:callback #(do (local lint (require :lint))
(lint.try_lint)
- (vim.schedule #(vim.diagnostic.setloclist)))})
+ (vim.schedule #(vim.diagnostic.setloclist {:open false})))})
(local session-file (.. vim.env.HOME "/.vimsession.vim"))
diff --git a/mut/neovim/fnl/conf/pkgs/dap.fnl b/mut/neovim/fnl/conf/pkgs/dap.fnl
index 6476d3e..65f01c4 100644
--- a/mut/neovim/fnl/conf/pkgs/dap.fnl
+++ b/mut/neovim/fnl/conf/pkgs/dap.fnl
@@ -3,6 +3,7 @@
(local configurations (. dap :configurations))
(local dapui (require :dapui))
+(local dap-py (require :dap-python))
(tset adapters :delve
{:type :server
@@ -41,6 +42,7 @@
:program "${fileDirname}"}])
(dapui.setup {:expand_lines false})
+(dap-py.setup)
(vim.keymap.set :n :si (lambda []
(dapui.toggle {:reset true})) {:silent true})