diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-08-28 11:35:09 +0200 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2023-08-29 09:26:15 +0200 |
commit | 0a81ec14a4c006822509b06396871509140b7a79 (patch) | |
tree | 3455796f8c48fe8c5f202fe3044580c8fe7d8930 /runtime/lua/vim/treesitter/language.lua | |
parent | 794981d9bed7048fb3ee1ada38fcf1ebdace4c53 (diff) | |
download | rneovim-0a81ec14a4c006822509b06396871509140b7a79.tar.gz rneovim-0a81ec14a4c006822509b06396871509140b7a79.tar.bz2 rneovim-0a81ec14a4c006822509b06396871509140b7a79.zip |
fix(api): better topline adjustments in nvim_buf_set_lines
Some more reasonable defaults for topline:
- if topline was replaced with another line, that now becomes topline
- if line was inserted just before topline, display it. This is more
similar to the previous API behavior.
Diffstat (limited to 'runtime/lua/vim/treesitter/language.lua')
0 files changed, 0 insertions, 0 deletions