Compare commits

..

3 commits

Author SHA1 Message Date
1cd5fea469 fixup! Add NeoVim test runner 2024-04-11 23:30:16 +01:00
8b80b7045a Fix indentation in test files 2024-04-11 22:09:42 +01:00
c73eadd348 Add NeoVim test runner
For the queries that can't be tested with `tree-sitter` itself.
2024-04-11 22:09:42 +01:00

View file

@ -3,9 +3,9 @@ vim.opt.runtimepath:append(vim.env.NVIM_TREESITTER)
vim.opt.runtimepath:append(vim.env.NVIM_TREESITTER_TEXTOBJECTS)
vim.opt.runtimepath:append(vim.env.NVIM_TREESITTER_PARSER)
vim.cmd.runtime({ "plugin/plenary.vim", bang = true })
vim.cmd.runtime({ "plugin/nvim-treesitter.lua", bang = true })
vim.cmd.runtime({ "plugin/nvim-treesitter-textobjects.lua", bang = true })
vim.cmd.runtime { "plugin/plenary.vim", bang = true }
vim.cmd.runtime { "plugin/nvim-treesitter.lua", bang = true }
vim.cmd.runtime { "plugin/nvim-treesitter-textobjects.lua", bang = true }
local Path = require("plenary.path")