summaryrefslogtreecommitdiff
path: root/dot_config/nvim/fnl/plugins/langs.fnl
diff options
context:
space:
mode:
authorChloƩ Vulquin <code@toast.bunkerlabs.net>2024-07-24 19:19:26 +0200
committerChloƩ Vulquin <code@toast.bunkerlabs.net>2024-07-24 19:19:26 +0200
commit01586921b3d5f2ac1ccf8196d3ad9b4b3ddd31f3 (patch)
treed740ac5e8943e48ee4132efc4633051d6cdf1d48 /dot_config/nvim/fnl/plugins/langs.fnl
parentnvim: 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 '')
-rw-r--r--dot_config/nvim/fnl/plugins/langs.fnl25
1 files changed, 25 insertions, 0 deletions
diff --git a/dot_config/nvim/fnl/plugins/langs.fnl b/dot_config/nvim/fnl/plugins/langs.fnl
new file mode 100644
index 0000000..5bfb817
--- /dev/null
+++ b/dot_config/nvim/fnl/plugins/langs.fnl
@@ -0,0 +1,25 @@
+(import-macros {: tbl} :toast.macros)
+; language support
+[(tbl :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
+ (tbl :janet-lang/janet.vim & :ft :janet)
+ (tbl :preservim/vim-markdown &
+ :version false
+ :dependencies [:godlygeek/tabular]
+ :ft :markdown)
+ ; helper for lisps
+ (tbl :gpanders/nvim-parinfer &
+ :ft [:clojure
+ :fennel
+ :janet
+ :scm])]