Bug ID | 1232020 |
---|---|
Summary | Typo in neovim treesitter config with markdown_inline |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | x86-64 |
OS | Other |
Status | NEW |
Severity | Minor |
Priority | P5 - None |
Component | Other |
Assignee | screening-team-bugs@suse.de |
Reporter | m.krippendorf@posteo.de |
QA Contact | qa-bugs@suse.de |
Target Milestone | --- |
Found By | --- |
Blocker | --- |
In Neovim, When I run :checkhealth, I get this warning: - ERROR Parser "markdown-inline" failed to load (path: /usr/share/nvim/runtime/parser/markdown-inline.so): /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:101: 'markdown-inline' is not a valid language name The same error appearantly occured in Nix where they fixed it by changing this line: { markdown-inline = treesitter-parsers.markdown // { language = "markdown_inline"; location = "tree-sitter-markdown-inline"; }; } into this: { markdown_inline = treesitter-parsers.markdown // { language = "markdown_inline"; location = "tree-sitter-markdown-inline"; }; } Notice the - vs. _ in the first word. For reference the diff from the Nix repo: https://github.com/Sobte/nixpkgs/commit/02c6a428f5f4c1a5c90b750d6236a495e0b76c7a#diff-1117904976c9f4a194ba5a96d5fc9940cf3c2c3b6460cf8695ef272df9d82cc5R92