switch to allgrammers
This commit is contained in:
parent
cf890bde0c
commit
652f0a4c57
1 changed files with 7 additions and 24 deletions
31
home.nix
31
home.nix
|
@ -61,30 +61,8 @@
|
|||
|
||||
programs.neovim =
|
||||
let
|
||||
treesitterWithGrammars = (pkgs.vimPlugins.nvim-treesitter.withPlugins (p: [
|
||||
p.bash
|
||||
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
|
||||
]));
|
||||
nvim-treesitter = pkgs.vimPlugins.nvim-treesitter;
|
||||
treesitterWithGrammars = (nvim-treesitter.withPlugins (_: nvim-treesitter.allGrammars));
|
||||
|
||||
treesitter-parsers = pkgs.symlinkJoin {
|
||||
name = "treesitter-parsers";
|
||||
|
@ -103,6 +81,11 @@
|
|||
|
||||
vim.opt.runtimepath:append ("${treesitter-parsers}")
|
||||
'';
|
||||
extraPackages = with pkgs; [
|
||||
lua-language-server
|
||||
rust-analyzer-unwrapped
|
||||
nil
|
||||
];
|
||||
|
||||
plugins = [
|
||||
treesitterWithGrammars
|
||||
|
|
Loading…
Reference in a new issue