From 01586921b3d5f2ac1ccf8196d3ad9b4b3ddd31f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9=20Vulquin?= Date: Wed, 24 Jul 2024 19:19:26 +0200 Subject: 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? --- dot_config/nvim/fnl/plugins/init.fnl | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 dot_config/nvim/fnl/plugins/init.fnl (limited to 'dot_config/nvim/fnl/plugins/init.fnl') 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 :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]] -- cgit v1.2.3