fix: require path for treesitter textobjects on main branch#14
fix: require path for treesitter textobjects on main branch#14mawkler merged 1 commit intomawkler:mainfrom
Conversation
|
Thanks for the contribution! Does repeatint with |
|
even though the branch is under construction, everything is working with main branch for now :P |
|
just did the same thing myself before seeing this pull request, everything is working as intended |
|
I lied, you actually need more than that to make it work with the new API. this might need to be tested with the |
|
@chuan29812 I found the problem you pointed out has been solved. Changes in this PR is enough to use with either |
|
I tried this PR but I keep getting this error with nvim-treesitter-textobjects: Click to expandHere's the config I'm using: Click to expand-- Use this config by running `nvim -u path/to/this/file`
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
spec = {
{
'cathyprime/demicolon.nvim',
branch = 'treesitter_main',
dependencies = {
{
'nvim-treesitter/nvim-treesitter',
lazy = false,
branch = 'main',
build = ':TSUpdate',
},
'nvim-treesitter/nvim-treesitter-textobjects',
},
opts = {},
},
},
}) |
|
@mawkler Your config uses the spec = {
{
'cathyprime/demicolon.nvim',
branch = 'treesitter_main',
dependencies = {
{
'nvim-treesitter/nvim-treesitter',
lazy = false,
branch = 'main',
build = ':TSUpdate',
},
{ 'nvim-treesitter/nvim-treesitter-textobjects', branch = 'main' },
},
opts = {},
},
}, |
|
Ah good catch, thanks! The PR seems to work as intended on both |
In new treesitter/treesitter-textobjects version master branch have been frozen and now main is being used, the changes for treesitter-textobjects include change of path, this pr fixes that while remaining compatible with master branch changes