summaryrefslogtreecommitdiff
path: root/dot_config/nvim/fnl/plugins/langs.fnl
blob: e785d98e38cd2a3ff83b3b24f8c1463b3234e3f3 (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
29
30
31
(import-macros {:mixed-table ·} :toast.macros)

(local lisps [:clojure
              :fennel
              :janet
              :scm])

; language support
[(· :nvim-treesitter/nvim-treesitter &
    :version false
    :build ::TSUpdate
    :dependnecies [:nvim-treesitter/nvim-treesitter-textobjects]
    :main :nvim-treesitter.configs
    :opts {:ensure_installed :all
           :ignore_install   [:norg]
           :sync_install     :true
           :highlight        {:enable true
                              :disable [:markdown]
                              :additional_vim_regex_highlighting [:markdown]}})
 ; non-treesitter languages
 (· :janet-lang/janet.vim & :ft :janet)
 (· :preservim/vim-markdown &
    :version false
    :dependencies [:godlygeek/tabular]
    :ft :markdown)
 ; helpers for lisps
 (· :gpanders/nvim-parinfer &
    :ft lisps)
 (· :julienvincent/nvim-paredit &
    :ft lisps
    :config {:indent {:enabled true}})]