diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-04-12 21:15:44 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-04-12 21:15:44 +0200 |
commit | 82779fc7fbb42f5f97bf5840d3248ad84a63c095 (patch) | |
tree | 7d8327aa0f7eeea7fed99b69c554eb19c671ef29 /fnl/config/treesitter.fnl | |
parent | 4ec6fb5118f95f00dbacdcf0470e0f9fffd86abc (diff) | |
parent | c561be2e3e71c226985640320559e3bf5e1c7034 (diff) |
feat(fennel): migration
Diffstat (limited to 'fnl/config/treesitter.fnl')
-rw-r--r-- | fnl/config/treesitter.fnl | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/fnl/config/treesitter.fnl b/fnl/config/treesitter.fnl new file mode 100644 index 0000000..73ef8a5 --- /dev/null +++ b/fnl/config/treesitter.fnl @@ -0,0 +1,32 @@ +;; Treesitter is a tool for building syntax trees for source files. +;; In the neovim context it helps with better coloring. +(module config.treesitter {autoload {util util}}) + +(let [treesitter (util.load-plugin :nvim-treesitter.configs)] + (treesitter.setup {:ensure_installed [:c + :rust + :lua + :haskell + :python + :fennel + :org + :make + :go + :ocaml + :erlang + :vim + :yaml + :html + :toml + :dockerfile + :markdown + :latex] + :sync_install false + :ignore_install [""] + :autopairs {:enable true} + :highlight {:enable true + :disable [:org] + :additional_vim_regex_highlighting [:org]}} + :context_commentstring {:enable true :enable_autocmd false} + :indent {:enable true :disable [:yaml :python :css]} + :playground {:enable true})) |