diff options
| author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-10-16 11:49:45 +0200 |
|---|---|---|
| committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-10-16 11:49:45 +0200 |
| commit | 3f1367c3a460f89cafc80f134fbf420543ffb5e6 (patch) | |
| tree | 568cb0dc2cb9386b760cc2b7e6c2e922a8442f82 /fnl/config/autocmd.fnl | |
| parent | 97335fff57e4cca08bf642d65791c5c18ce8b485 (diff) | |
Remove colon for util autoload
Diffstat (limited to 'fnl/config/autocmd.fnl')
| -rw-r--r-- | fnl/config/autocmd.fnl | 9 |
1 files changed, 8 insertions, 1 deletions
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))}) |