nvim: remove org-mode
This commit is contained in:
parent
ed1b6d84e3
commit
35456c3032
3 changed files with 1 additions and 58 deletions
|
@ -8,23 +8,7 @@
|
|||
lib.mkIf (lib.elem "nvim::treesitter" config.machine.pkgs) {
|
||||
programs.nvim-lazy.lazyPlugins =
|
||||
let
|
||||
org-grammar = pkgs.tree-sitter.buildGrammar {
|
||||
language = "org";
|
||||
version = "1.0";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "nvim-orgmode";
|
||||
repo = "tree-sitter-org";
|
||||
rev = "436c2dec440e6ad40be98f3b712537bbb08bef0b";
|
||||
hash = "sha256-k/i+7/K6puXg554BWSLHIDlOXElUovOwOEe5i1Q95L8=";
|
||||
};
|
||||
};
|
||||
# all grammars except replace org-mode
|
||||
treesitter = pkgs.vimPlugins.nvim-treesitter.withPlugins (
|
||||
_:
|
||||
(lib.filter (grammar: grammar.pname != "org-grammar") pkgs.vimPlugins.nvim-treesitter.allGrammars)
|
||||
++ [ org-grammar ]
|
||||
);
|
||||
#treesitter = pkgs.vimPlugins.nvim-treesitter.withAllGrammars;
|
||||
treesitter = pkgs.vimPlugins.nvim-treesitter.withAllGrammars;
|
||||
grammars = pkgs.symlinkJoin {
|
||||
name = "treesitter-parsers";
|
||||
paths = treesitter.dependencies;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue