Files
neovim/runtime/lua/vim
Riley Bruins ac15b384a6 refactor(treesitter): use scratch buffer for string parser #35988
This commit changes `languagetree.lua` so that it creates a scratch
buffer under the hood when dealing with string parsers. This will make
it much easier to just use extmarks whenever we need to track injection
trees in `languagetree.lua`. This also allows us to remove the
`treesitter.c` code for parsing a string directly.

Note that the string parser's scratch buffer has `set noeol nofixeol` so
that the parsed source exactly matches the passed in string.
2025-10-02 15:33:18 -07:00
..
2025-08-17 11:54:53 +08:00
2025-09-16 11:41:36 +08:00
2025-06-06 15:36:48 +01:00
2025-07-10 21:50:46 -04:00
2025-09-28 20:57:59 -07:00
2025-09-16 11:41:36 +08:00
2025-09-16 11:41:36 +08:00
2025-09-13 22:49:50 -04:00
2025-09-16 11:41:36 +08:00
2025-06-14 17:24:36 +02:00