remove custom treesitter grammars
This commit is contained in:
parent
14b2b85b0b
commit
88a3411f76
8071
flake.lock
8071
flake.lock
File diff suppressed because it is too large
Load Diff
14
flake.nix
14
flake.nix
|
|
@ -139,10 +139,6 @@
|
|||
url = "github:nix-community/nixGL";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
flakelight = {
|
||||
url = "github:nix-community/flakelight";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
# Neovim
|
||||
nixvim = {
|
||||
|
|
@ -184,9 +180,13 @@
|
|||
};
|
||||
*/
|
||||
|
||||
treesitter-grammars = {
|
||||
url = "github:ratson/nix-treesitter";
|
||||
inputs.flakelight.follows = "flakelight";
|
||||
lazydev = {
|
||||
url = "github:folke/lazydev.nvim";
|
||||
flake = false;
|
||||
};
|
||||
luavit-meta = {
|
||||
url = "github:Bilal2453/luvit-meta";
|
||||
flake = false;
|
||||
};
|
||||
|
||||
norg.url = "github:nvim-neorg/tree-sitter-norg/dev";
|
||||
|
|
|
|||
|
|
@ -40,8 +40,6 @@
|
|||
python3Packages.six
|
||||
|
||||
asm-lsp
|
||||
|
||||
|
||||
];
|
||||
extraPlugins = with pkgs.vimPlugins; [
|
||||
{
|
||||
|
|
@ -65,6 +63,19 @@
|
|||
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"}})'';
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ inputs, pkgs, ... }: {
|
||||
_: {
|
||||
plugins = {
|
||||
treesitter = {
|
||||
enable = true;
|
||||
|
|
@ -8,9 +8,6 @@
|
|||
};
|
||||
folding = true;
|
||||
nixGrammars = true;
|
||||
grammarPackages = [
|
||||
inputs.treesitter-grammars.packages.${pkgs.system}.default
|
||||
];
|
||||
};
|
||||
treesitter-context.enable = true;
|
||||
ts-autotag.enable = true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue