remove custom treesitter grammars

This commit is contained in:
Patrick Neff 2024-09-12 23:17:14 +02:00
parent 14b2b85b0b
commit 88a3411f76
4 changed files with 56 additions and 8049 deletions

8071
flake.lock

File diff suppressed because it is too large Load Diff

View File

@ -139,10 +139,6 @@
url = "github:nix-community/nixGL"; url = "github:nix-community/nixGL";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
flakelight = {
url = "github:nix-community/flakelight";
inputs.nixpkgs.follows = "nixpkgs";
};
# Neovim # Neovim
nixvim = { nixvim = {
@ -184,9 +180,13 @@
}; };
*/ */
treesitter-grammars = { lazydev = {
url = "github:ratson/nix-treesitter"; url = "github:folke/lazydev.nvim";
inputs.flakelight.follows = "flakelight"; flake = false;
};
luavit-meta = {
url = "github:Bilal2453/luvit-meta";
flake = false;
}; };
norg.url = "github:nvim-neorg/tree-sitter-norg/dev"; norg.url = "github:nvim-neorg/tree-sitter-norg/dev";

View File

@ -40,8 +40,6 @@
python3Packages.six python3Packages.six
asm-lsp asm-lsp
]; ];
extraPlugins = with pkgs.vimPlugins; [ extraPlugins = with pkgs.vimPlugins; [
{ {
@ -65,6 +63,19 @@
src = inputs.guihua; src = inputs.guihua;
}; };
} }
{
plugin = pkgs.vimUtils.buildVimPlugin {
name = "luavit-meta";
src = inputs.luavit-meta;
};
}
{
plugin = pkgs.vimUtils.buildVimPlugin {
name = "lazydev.nvim";
src = inputs.lazydev;
};
config = ''lua require('lazydev').setup({library = {"luvit-meta/library"}})'';
}
]; ];
}; };
} }

View File

@ -1,4 +1,4 @@
{ inputs, pkgs, ... }: { _: {
plugins = { plugins = {
treesitter = { treesitter = {
enable = true; enable = true;
@ -8,9 +8,6 @@
}; };
folding = true; folding = true;
nixGrammars = true; nixGrammars = true;
grammarPackages = [
inputs.treesitter-grammars.packages.${pkgs.system}.default
];
}; };
treesitter-context.enable = true; treesitter-context.enable = true;
ts-autotag.enable = true; ts-autotag.enable = true;