Closed CRAG666 closed 7 months ago
According to the stack trace, you're calling vim.treesitter.start()
in /home/think-crag/Git/dotfiles/config/nvim/init.lua
, but the tree-sitter-toml
parser is not installed.
@mrcjkb Rocks-tresitter is supposed to automatically call treesitter, however this never happens, I've tried it for hours and the syntax highlighting never happens unless I make the call explicitly :(
Could this be because of https://github.com/nvim-neorocks/rocks-treesitter.nvim/issues/8?
yes
close this;
Se ha detectado un error al procesar BufWinEnter Auto-órdenes para "*": Error executing vim.schedule lua callback: ...nux64/share/nvim/runtime/lua/vim/treesitter/language.lua:104: no parser for 'toml' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...nux64/share/nvim/runtime/lua/vim/treesitter/language.lua:104: in function 'add'
...4/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:111: in function 'new'
...y/nvim-linux64/share/nvim/runtime/lua/vim/treesitter.lua:41: in function '_create_parser'
...y/nvim-linux64/share/nvim/runtime/lua/vim/treesitter.lua:108: in function 'get_parser'
...y/nvim-linux64/share/nvim/runtime/lua/vim/treesitter.lua:416: in function 'start'
/home/think-crag/Git/dotfiles/config/nvim/init.lua:14: in function </home/think-crag/Git/dotfiles/config/nvim/ init.lua:13>
[C]: in function 'wait'
...are/nvim/rocks/rocks_rtp/lua/frecency/database/table.lua:50: in function 'wait_ready'
...are/nvim/rocks/rocks_rtp/lua/frecency/database/table.lua:25: in function '__index'
...cal/share/nvim/rocks/rocks_rtp/lua/frecency/database.lua:60: in function 'has_entry'
.../.local/share/nvim/rocks/rocks_rtp/lua/frecency/init.lua:71: in function 'assert_db_entries'
.../.local/share/nvim/rocks/rocks_rtp/lua/frecency/init.lua:31: in function 'setup'
...m/rocks/rocks_rtp/lua/telescope/_extensions/frecency.lua:23: in function 'register'
...m/rocks/rocks_rtp/lua/telescope/_extensions/frecency.lua:65: in function <...m/rocks/rocks_rtp/lua/telescop e/_extensions/frecency.lua:62>