From 25d9705750755aeddf093cb5834b385ae3ff8ffc Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Mon, 8 Jan 2024 23:34:58 +0100 Subject: fixup --- mut/neovim/fnl/conf/events.fnl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mut') 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")) -- cgit v1.2.3