diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2020-04-26 02:52:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-26 02:52:39 -0400 |
commit | 3de9452abf182519fd9a015fe489a37d14aa78d9 (patch) | |
tree | bf088b92858967ae791579bbc9faf39800207302 /src/nvim/extmark.c | |
parent | 68511924d02af03812ae4b56aea6d94009f8096e (diff) | |
parent | 4d8b66e4978f6a7b59e35ac27ec0d96c0ebc011a (diff) | |
download | rneovim-3de9452abf182519fd9a015fe489a37d14aa78d9.tar.gz rneovim-3de9452abf182519fd9a015fe489a37d14aa78d9.tar.bz2 rneovim-3de9452abf182519fd9a015fe489a37d14aa78d9.zip |
Merge #12177 'folds: decrease reliance on globals'
Diffstat (limited to 'src/nvim/extmark.c')
-rw-r--r-- | src/nvim/extmark.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nvim/extmark.c b/src/nvim/extmark.c index 38d111f2aa..1457a1172d 100644 --- a/src/nvim/extmark.c +++ b/src/nvim/extmark.c @@ -578,6 +578,15 @@ void extmark_splice(buf_T *buf, } } +void extmark_splice_cols(buf_T *buf, + int start_row, colnr_T start_col, + colnr_T old_col, colnr_T new_col, + ExtmarkOp undo) +{ + extmark_splice(buf, start_row, start_col, + 0, old_col, + 0, new_col, undo); +} void extmark_move_region(buf_T *buf, int start_row, colnr_T start_col, |