diff options
| author | Riley Bruins <ribru17@hotmail.com> | 2025-10-02 15:33:18 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-02 15:33:18 -0700 |
| commit | ac15b384a6ff35967182c7ed2f342a92bbc3c0c1 (patch) | |
| tree | be81695f7679992abb53536d59917b2ccf3d4396 /runtime/lua/vim/lsp/inline_completion.lua | |
| parent | 8eb09645378845f163814e2b93924fd08aab65c7 (diff) | |
| download | rneovim-ac15b384a6ff35967182c7ed2f342a92bbc3c0c1.tar.gz rneovim-ac15b384a6ff35967182c7ed2f342a92bbc3c0c1.tar.bz2 rneovim-ac15b384a6ff35967182c7ed2f342a92bbc3c0c1.zip | |
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.
Diffstat (limited to 'runtime/lua/vim/lsp/inline_completion.lua')
0 files changed, 0 insertions, 0 deletions