diff options
| author | 2024-07-24 19:19:26 +0200 | |
|---|---|---|
| committer | 2024-07-24 19:19:26 +0200 | |
| commit | 01586921b3d5f2ac1ccf8196d3ad9b4b3ddd31f3 (patch) | |
| tree | d740ac5e8943e48ee4132efc4633051d6cdf1d48 /dot_config/nvim/fnl/plugins/init.fnl | |
| parent | nvim: ignore lazy-lock.json (diff) | |
nvim: rewrite config in fennel
One file isn't done, and there's also the question of ftplugin and co.
One step at a time though, eh?
Diffstat (limited to 'dot_config/nvim/fnl/plugins/init.fnl')
| -rw-r--r-- | dot_config/nvim/fnl/plugins/init.fnl | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dot_config/nvim/fnl/plugins/init.fnl b/dot_config/nvim/fnl/plugins/init.fnl new file mode 100644 index 0000000..a867ecc --- /dev/null +++ b/dot_config/nvim/fnl/plugins/init.fnl @@ -0,0 +1,28 @@ +(import-macros {: tbl} :toast.macros) +(local conjureft [:clojure + :fennel + :hy + :janet + :julia + :lisp + :racket + :scheme]) + +; simple stuff that doesn't need any handling +; and doesn't fit in elsewhere +[(tbl :folke/lazy.nvim & :version false) + (tbl :Olical/nfnl & :ft :fennel) + (tbl :stevearc/dressing.nvim & + :opts {}) + (tbl :Olical/conjure & + :config (fn [_ opts] + (each [k v (pairs opts)] + (tset vim.g (.. :conjure# k) v))) + :opts {:mapping#prefix :<localleader>e + :extract#tree_sitter#enabled true + ; disabling lua, python, rust + :filetypes conjureft + :filetype#fennel :conjure.client.fennel.stdio + :filetype#janet :conjure.client.janet.stdio} + :ft conjureft) + [:tpope/vim-repeat]] |
