aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/api.lua
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-11-03 20:25:52 +0100
committerbfredl <bjorn.linse@gmail.com>2023-11-05 21:19:35 +0100
commit83db9115af94992a2fb32e927b7349283434ff5d (patch)
tree63f3d371491755e8b6bdbb8648d396ffba5a4218 /runtime/lua/vim/_meta/api.lua
parentacc646ad8fc3ef11fcc63b69f3d8484e4a91accd (diff)
downloadrneovim-83db9115af94992a2fb32e927b7349283434ff5d.tar.gz
rneovim-83db9115af94992a2fb32e927b7349283434ff5d.tar.bz2
rneovim-83db9115af94992a2fb32e927b7349283434ff5d.zip
refactor(grid): reimplement 'rightleft' as a post-processing step
problem: checks for wp->w_p_rl are all over the place, making simple things like "advance column one cell" incredibly complicated. solution: always fill linebuf_char[] using an incrementing counter, and then mirror the buffer as a post-processing step This was "easier" that I first feared, because the stupid but simple workaround for things like keeping linenumbers still left-right, e.g. "mirror them and them mirror them once more" is more or less what vim did already. So let's just keep doing that.
Diffstat (limited to 'runtime/lua/vim/_meta/api.lua')
0 files changed, 0 insertions, 0 deletions