diff options
Diffstat (limited to 'fnl')
-rw-r--r-- | fnl/util.fnl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fnl/util.fnl b/fnl/util.fnl index febecbd..5cc0367 100644 --- a/fnl/util.fnl +++ b/fnl/util.fnl @@ -1,6 +1,9 @@ ;; Utility functions. (module util) +(defn autocmd [name opts] + (nvim.create_autocmd name opts)) + (defn load-plugin [name] (let [(ok? val-or-err) (pcall require name)] (if ok? |