diff options
| author | Yi Ming <ofseed@foxmail.com> | 2026-04-15 22:27:44 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-15 10:27:44 -0400 |
| commit | 1740d51eded3cd9b8244470b3e79d467598301ed (patch) | |
| tree | 43f5e89b5ed6a4eee2141942e833c08014b5d1e4 /test/functional/vimscript/executable_spec.lua | |
| parent | d0af4cd9094f3439382622906da5b1c5cd82c294 (diff) | |
feat(lsp): highlight foldtext via treesitter #38789
Problem:
To support `collapsedText`, which allows the LSP server to determine the
content of the foldtext, we provided `vim.lsp.foldtext()`. However, such
content does not have highlighting.
Solution
Treat the filetype of `collapsedText` as the filetype of the corresponding
buffer and use tree-sitter to highlight it.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions
