switch to allgrammers

This commit is contained in:
Zynh Ludwig 2024-05-29 15:23:44 -07:00
parent cf890bde0c
commit 652f0a4c57

View file

@ -61,30 +61,8 @@
programs.neovim = programs.neovim =
let let
treesitterWithGrammars = (pkgs.vimPlugins.nvim-treesitter.withPlugins (p: [ nvim-treesitter = pkgs.vimPlugins.nvim-treesitter;
p.bash treesitterWithGrammars = (nvim-treesitter.withPlugins (_: nvim-treesitter.allGrammars));
p.comment
p.css
p.dockerfile
p.fish
p.gitattributes
p.gitignore
p.go
p.gomod
p.gowork
p.javascript
p.json5
p.json
p.lua
p.make
p.markdown
p.nix
p.python
p.rust
p.toml
p.typescript
p.yaml
]));
treesitter-parsers = pkgs.symlinkJoin { treesitter-parsers = pkgs.symlinkJoin {
name = "treesitter-parsers"; name = "treesitter-parsers";
@ -103,6 +81,11 @@
vim.opt.runtimepath:append ("${treesitter-parsers}") vim.opt.runtimepath:append ("${treesitter-parsers}")
''; '';
extraPackages = with pkgs; [
lua-language-server
rust-analyzer-unwrapped
nil
];
plugins = [ plugins = [
treesitterWithGrammars treesitterWithGrammars