Module 'nvim-treesitter.query' not found
Ritzier opened this issue · 5 comments
Ritzier commented
Error detected while processing /home/ritzier/.local/share/nvim/site/pack/packer/start/nvim-gps/plugin/nvim-gps.vim:
line 1:
E5108: Error executing lua ...ite/pack/packer/start/nvim-gps/lua/nvim-gps/internal.lua:1: module 'nvim-treesitter.query'
SmiteshP commented
Have you installed nvim-treesitter
plugin too? nvim-gps depends on it.
SmiteshP commented
Closing, hopefully you were able to fix it.
fgheng commented
I have the same error and I have alse installed nvim-treesitter
Ritzier commented
Try remove these two plugins, install nvim-treesitter and then install nvim-gps
rodamaral commented
I had the same problem using Packer. I fixed the issue by adding a after clause:
-- Simple statusline component that shows what scope you are working inside
use {
'SmiteshP/nvim-gps',
after = 'nvim-treesitter',
requires = { 'nvim-treesitter/nvim-treesitter' },
config = function()
require('nvim-gps').setup()
end,
}