tree-sitter-markdown: ikatyang parser to MDeiml

Replace
https://github.com/ikatyang/tree-sitter-markdown
with
https://github.com/MDeiml/tree-sitter-markdown

With neovim, the current markdown parser crashes sometimes.
nvim-treesitter project uses MDeiml parser to avoid those crashes,
take a look to
https://github.com/nvim-treesitter/nvim-treesitter/pull/2105 and
https://github.com/nvim-treesitter/nvim-treesitter/issues/872 to see why
the picked one over the other.
This commit is contained in:
José Luis Lafuente 2022-01-11 23:34:11 +01:00
parent 5cbff8a564
commit 71dd58ce85
No known key found for this signature in database
GPG key ID: 8A3455EBE455489A
3 changed files with 7 additions and 7 deletions

View file

@ -91,7 +91,7 @@ let
in
{
name =
(lib.strings.replaceStrings ["-"] ["_"]
(lib.strings.replaceStrings [ "-" ] [ "_" ]
(lib.strings.removePrefix "tree-sitter-"
(lib.strings.removeSuffix "-grammar" name)))
+ stdenv.hostPlatform.extensions.sharedLibrary;

View file

@ -1,9 +1,9 @@
{
"url": "https://github.com/ikatyang/tree-sitter-markdown",
"rev": "8b8b77af0493e26d378135a3e7f5ae25b555b375",
"date": "2021-04-18T20:49:21+08:00",
"path": "/nix/store/4z2k0q6rwqmb7vbqr4vgc26w28szlan3-tree-sitter-markdown",
"sha256": "1a2899x7i6dgbsrf13qzmh133hgfrlvmjsr3bbpffi1ixw1h7azk",
"url": "https://github.com/MDeiml/tree-sitter-markdown",
"rev": "8bee14c30ecadd55c2d65633973b4e81f93525e0",
"date": "2022-01-16T14:47:09+01:00",
"path": "/nix/store/cv7xqvcj4bjifzddkx5n2jd723dc6vlf-tree-sitter-markdown",
"sha256": "0vibmpp86pkqllfhb0kg6zhaz09sh8m6a2d1xa8p2qdi7ryy7wqa",
"fetchLFS": false,
"fetchSubmodules": false,
"deepClone": false,

View file

@ -117,7 +117,7 @@ let
repo = "tree-sitter-make";
};
"tree-sitter-markdown" = {
orga = "ikatyang";
orga = "MDeiml";
repo = "tree-sitter-markdown";
};
"tree-sitter-rst" = {