flathub / dev.neovide.neovide

https://flathub.org/apps/details/dev.neovide.neovide
2 stars 1 forks source link

`:help` causes `no parser for 'vimdoc' language` error #8

Open gmankab opened 10 hours ago

gmankab commented 10 hours ago
full error log ```lua Error detected while processing BufReadPost Autocommands for "*": Error executing lua callback: /app/share/nvim/runtime/filetype.lua:35: Error executing lua: /app/share/nvim/runtime/filetype.lua:36: BufReadPost A utocommands for "*"..FileType Autocommands for "*"..function 1_LoadFTPlugin[20]..script /app/share/nvim/runtime/ftplugin/help.lua: Vim(runtim e):E5113: Error while calling lua chunk: /app/share/nvim/runtime/lua/vim/treesitter/language.lua:107: no parser for 'vimdoc' language, see :help t reesitter-parsers stack traceback: [C]: in function 'error' /app/share/nvim/runtime/lua/vim/treesitter/language.lua:107: in function 'add' /app/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:111: in function 'new' /app/share/nvim/runtime/lua/vim/treesitter.lua:41: in function '_create_parser' /app/share/nvim/runtime/lua/vim/treesitter.lua:108: in function 'get_parser' /app/share/nvim/runtime/lua/vim/treesitter.lua:416: in function 'start' /app/share/nvim/runtime/ftplugin/help.lua:2: in main chunk [C]: in function 'nvim_cmd' /app/share/nvim/runtime/filetype.lua:36: in function [C]: in function 'nvim_buf_call' /app/share/nvim/runtime/filetype.lua:35: in function stack traceback: [C]: in function 'nvim_cmd' /app/share/nvim/runtime/filetype.lua:36: in function [C]: in function 'nvim_buf_call' /app/share/nvim/runtime/filetype.lua:35: in function stack traceback: [C]: in function 'nvim_buf_call' /app/share/nvim/runtime/filetype.lua:35: in function ```

error disappears after installing neovim configs, such as kickstart.nvim, astronvim, nvchad, which are installing treesitter

to solve this issue we should preinstall treesitter withing flatpak

issue can be reproduced on:

issue can not be reproduced on:

gmankab commented 10 hours ago

related issues: