From 3f1367c3a460f89cafc80f134fbf420543ffb5e6 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 16 Oct 2022 11:49:45 +0200 Subject: Remove colon for util autoload --- fnl/config/autocmd.fnl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'fnl/config/autocmd.fnl') diff --git a/fnl/config/autocmd.fnl b/fnl/config/autocmd.fnl index 24adcad..4194e66 100644 --- a/fnl/config/autocmd.fnl +++ b/fnl/config/autocmd.fnl @@ -2,7 +2,8 @@ (module config.autocmd {autoload {nvim aniseed.nvim env aniseed.env a aniseed.core - :util :config.util}}) + : packer + util config.util}}) (defn create-autocmd [event opts] (nvim.create_autocmd event opts)) @@ -36,3 +37,9 @@ {:pattern :*.fnl :callback (lambda [] (env.init nvim.g.aniseed#env))}) + +(create-autocmd :BufWritePost + {:pattern :plugins.fnl + :callback (lambda [] + (env.init nvim.g.aniseed#env) + (packer.sync))}) -- cgit v1.2.3-70-g09d2