summaryrefslogtreecommitdiff
path: root/dot_config/nvim/fnl/plugins/init.fnl
blob: 8e2e6af6e599a9c39e6f3161030f97d479381172 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
(import-macros {:mixed-table ·} :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
[(· :folke/lazy.nvim & :version false)
 (· :Olical/nfnl     & :ft :fennel)
 (· :stevearc/dressing.nvim &
    :opts {})
 (· :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]]