diff options
| author | Mike Vink <ivi@vinkies.net> | 2024-01-08 23:34:58 +0100 |
|---|---|---|
| committer | Mike Vink <ivi@vinkies.net> | 2024-01-08 23:34:58 +0100 |
| commit | 25d9705750755aeddf093cb5834b385ae3ff8ffc (patch) | |
| tree | 76301a7080be4addca7cf7cf1a4eaeb731ac9466 /mut | |
| parent | 9afed39b20971a296b1350c96ed632bb975279b2 (diff) | |
fixup
Diffstat (limited to 'mut')
| -rw-r--r-- | mut/neovim/fnl/conf/events.fnl | 4 |
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")) |
