summaryrefslogtreecommitdiff
path: root/mut
diff options
context:
space:
mode:
Diffstat (limited to 'mut')
-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"))