Justin M. Keyes
Justin M. Keyes
I have tried a vertical line. Middle-dot is the best compromise, from my testing.
is this a regression or also happens in 0.11 ?
> Vim (not Nvim) behaves the same? > no does vim really differ here?
Lua can use `vim.fn` functions for some of this stuff (and we can mark some of them as `fast` if needed), presumably the most common ones ("id", "name"). For the...
`nvim_buf_set_name` can trigger the swapfile ATTENTION dialog, but there's no way to tell `nvim_buf_set_name` to run with "noswapfile". That's an example of why the current one-off functions are insufficient.
> Why does `undo` mean dot-repeatable? No reason, we can name it `repeat` or open to better names.
Great suggestions. > Maybe having [default] `start_col = 0` and `end_col = -1` would make more sense? On a similar note maybe also having `start_row = 0` and `end_row =...
That all sounds good! Except: "whole buffer" is easy to specify (-1), but the "insert" case is a bit awkward (`from` and `to` must both be passed and identical). Can...
> It seems that `nvim_buf_get_lines()` is used more frequently than `nvim_buf_set_lines()`: The existing usages specify `-1` whenever they want "until EOB". Continuing to require `-1` seems fine? OTOH, I'm actually...
> leave a new API open to instead to many smaller _detailed_ changes can be done in a single API call with not much overhead over one single bulky replacement...