summaryrefslogtreecommitdiff
path: root/mut/neovim
diff options
context:
space:
mode:
authorMike Vink <ivi@vinkies.net>2024-01-08 23:34:58 +0100
committerMike Vink <ivi@vinkies.net>2024-01-08 23:34:58 +0100
commit25d9705750755aeddf093cb5834b385ae3ff8ffc (patch)
tree76301a7080be4addca7cf7cf1a4eaeb731ac9466 /mut/neovim
parent9afed39b20971a296b1350c96ed632bb975279b2 (diff)
fixup
Diffstat (limited to 'mut/neovim')
-rw-r--r--mut/neovim/fnl/conf/events.fnl4
1 files changed, 3 insertions, 1 deletions
diff --git a/mut/neovim/fnl/conf/events.fnl b/mut/neovim/fnl/conf/events.fnl
index 18d602e..65e8f8d 100644
--- a/mut/neovim/fnl/conf/events.fnl
+++ b/mut/neovim/fnl/conf/events.fnl
@@ -32,7 +32,9 @@
(event
:BufWritePost
{:group "conf#events"
- :callback #(do (local lint (require :lint)) (lint.try_lint) (vim.diagnostic.setloclist))})
+ :callback #(do (local lint (require :lint))
+ (lint.try_lint)
+ (vim.schedule #(vim.diagnostic.setloclist)))})
(local session-file (.. vim.env.HOME "/.vimsession.vim"))