We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 469cf37 commit e12671bCopy full SHA for e12671b
tests/debugprint.lua
@@ -1,8 +1,10 @@
1
vim.o.hidden = true
2
vim.o.swapfile = false
3
4
-vim.cmd("set rtp+=~/.local/share/nvim/site/pack/vendor/start/nvim-treesitter")
5
-vim.cmd("set rtp+=../nvim-treesitter")
+-- These must be prepended because of this:
+-- https://github.com/nvim-treesitter/nvim-treesitter/issues/3092#issue-1288690088
6
+vim.opt.runtimepath:prepend("~/.local/share/nvim/site/pack/vendor/start/nvim-treesitter")
7
+vim.opt.runtimepath:prepend("../nvim-treesitter")
8
vim.cmd("runtime! plugin/nvim-treesitter.lua")
9
10
local install_parser_if_needed = function(filetype)
0 commit comments