Files
neovim/runtime/lua
Barrett Ruth 81e01a80b9 fix(lsp): support -1 column in format range #40570
Problem:
`vim.lsp.buf.format()` accepts ranges using nvim indexing, where an
end column of -1 means end of line. LSP ranges cannot use that,
which is confusing for things like range formatting.

Solution:
Resolve -1 end columns to the line length before converting the range to
LSP positions.
2026-07-05 06:14:55 -04:00
..
2026-07-01 13:01:02 +02:00
2026-03-16 10:29:58 +01:00
2025-02-09 18:10:54 +01:00