neovim: don't include all treesitter grammars by default

This commit is contained in:
teutat3s 2024-11-11 18:01:48 +01:00
parent eaf9c2796b
commit 1b6bcf7470
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -105,7 +105,66 @@ in
++ (
if cfg.full then
[
nvim-treesitter.withAllGrammars
(pkgs.vimPlugins.nvim-treesitter.withPlugins (p: [
p.csv
p.ini
p.json
p.json5
p.markdown
p.nix
p.toml
p.xml
p.yaml
p.css
p.graphql
p.html
p.javascript
p.scss
p.tsx
p.typescript
p.vue
p.c
p.cpp
p.go
p.gomod
p.gosum
p.haskell
p.lua
p.php
p.python
p.requirements
p.ruby
p.rust
p.vim
p.vimdoc
p.passwd
p.sql
p.diff
p.gitcommit
p.gitignore
p.git_config
p.gitattributes
p.git_rebase
p.ssh_config
p.ledger
p.bash
p.cmake
p.make
p.meson
p.mermaid
p.ninja
p.dockerfile
p.hcl
p.helm
p.terraform
]))
# Dependencies for nvim-lspconfig
nvim-cmp