neovim/runtime/lua/vim/treesitter
Riley Bruins c63e49cce2
fix(treesitter): #trim! range for nodes ending at col 0 #31488
Problem:
char-wise folding for `#trim!` ranges are improperly calculated for nodes that
end at column 0, due to the way `get_node_text` works.

Solution:
Add the blank line that `get_node_text` removes for for nodes ending at column
0. Also properly set column positions when performing linewise trims.
2024-12-07 03:01:59 -08:00
..
_meta feat(treesitter): introduce child_with_descendant() 2024-10-11 17:29:45 +02:00
_fold.lua feat(lsp): support textDocument/foldingRange (#31311) 2024-11-29 12:40:32 +00:00
_query_linter.lua fix(treesitter): remove duplicate symbol names in language.inspect() 2024-10-11 18:15:07 +02:00
_range.lua docs(treesitter): generate inline docs for Ranges 2024-08-06 18:18:34 +02:00
dev.lua fix(treesitter): keep treeview open if source window is still open #31198 2024-11-14 19:00:18 -08:00
health.lua fix(health): better layout of vim.treesitter health check 2024-11-02 23:51:00 +01:00
highlighter.lua fix(api): only flush nvim__redraw when necessary #31250 2024-11-18 06:35:21 -08:00
language.lua feat(vim.validate): improve fast form and deprecate spec form 2024-10-21 11:32:06 +01:00
languagetree.lua fix(treesitter): remove redundant on_bytes callback #31041 2024-11-16 16:25:10 -08:00
query.lua fix(treesitter): #trim! range for nodes ending at col 0 #31488 2024-12-07 03:01:59 -08:00