summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-12 00:03:28 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-12 00:03:28 +0200
commit474b2c8db6b2e66a6d8313a17066f4d12e20720d (patch)
treefa87fa0a1e18c9b5a393a21b130f6a17bce2b351
parentd135c0f65a7f0703dd3428e8629396f4e2710ec7 (diff)
fix(treesitter): do not dl all parser by default
-rw-r--r--fnl/config/treesitter.fnl19
1 files changed, 18 insertions, 1 deletions
diff --git a/fnl/config/treesitter.fnl b/fnl/config/treesitter.fnl
index a76ff32..73ef8a5 100644
--- a/fnl/config/treesitter.fnl
+++ b/fnl/config/treesitter.fnl
@@ -3,7 +3,24 @@
(module config.treesitter {autoload {util util}})
(let [treesitter (util.load-plugin :nvim-treesitter.configs)]
- (treesitter.setup {:ensure_installed :all
+ (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}