stonebuddha / tree-sitter-sml

Standard ML Grammar for Tree-sitter
24 stars 6 forks source link

Every change in SML files get error #2

Open alr86 opened 2 months ago

alr86 commented 2 months ago

Error executing vim.schedule lua callback: /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:112: Failed to load parser for language 'sml': uv_dlopen: no error stack traceback: [C]: in function '_ts_add_language' /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:112: in function 'add' /usr/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:111: in function 'new' /usr/share/nvim/runtime/lua/vim/treesitter.lua:41: in function '_create_parser' /usr/share/nvim/runtime/lua/vim/treesitter.lua:108: in function 'get_parser' ...Nvim/lazy/nvim-treesitter/lua/nvim-treesitter/indent.lua:123: in function 'get_indent' ...e/nvim-AstroNvim/lazy/anyline.nvim/lua/anyline/cache.lua:97: in function 'cache_lines' ...e/nvim-AstroNvim/lazy/anyline.nvim/lua/anyline/cache.lua:126: in function 'update_cache' ...e/nvim-AstroNvim/lazy/anyline.nvim/lua/anyline/cache.lua:79: in function 'get_cache' ...nvim-AstroNvim/lazy/anyline.nvim/lua/anyline/context.lua:10: in function 'current_indentation' ...nvim-AstroNvim/lazy/anyline.nvim/lua/anyline/context.lua:68: in function 'get_context_info' ...nvim-AstroNvim/lazy/anyline.nvim/lua/anyline/context.lua:154: in function 'update_context' ...vim-AstroNvim/lazy/anyline.nvim/lua/anyline/autocmds.lua:52: in function '' vim/_editor.lua: in function <vim/_editor.lua:0>

alr86 commented 2 months ago

I use :TSInstallFromGrammer instead of :TSInstall and problem fixed!👍