Skip to content

fix: load buffer before parsing with TS#1689

Merged
benlubas merged 1 commit intonvim-neorg:mainfrom
benlubas:push-muvokwkottqr
Apr 30, 2025
Merged

fix: load buffer before parsing with TS#1689
benlubas merged 1 commit intonvim-neorg:mainfrom
benlubas:push-muvokwkottqr

Conversation

@benlubas
Copy link
Contributor

Little late, but, fixing the breakage caused by this commit neovim/neovim@a0b52e7

There are other places where we call vim.treesitter.get_parser without explicitly loading the buffer, but it seems like in all of those cases the buffer is already loaded.

I'm sure we'll find more and just fix them as we go

@benlubas benlubas requested a review from vhyrro as a code owner April 30, 2025 21:15
@github-project-automation github-project-automation bot moved this to added-updated-reopened in sorting neorg issue tracker Apr 30, 2025
@benlubas benlubas merged commit 8fdd9b2 into nvim-neorg:main Apr 30, 2025
2 of 6 checks passed
@github-project-automation github-project-automation bot moved this from added-updated-reopened to done in sorting neorg issue tracker Apr 30, 2025
@benlubas benlubas deleted the push-muvokwkottqr branch April 30, 2025 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant