diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2021-08-10 23:36:54 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2021-08-11 17:10:52 +0200 |
commit | 28b5c73bf8b5cc92451a4030b4ffbbad6c56374b (patch) | |
tree | 2c5c767c3ecbed6fdd97bdcac016aabb6edd04c3 /src/nvim/mouse.c | |
parent | 8bf318dcde0f4508dfbcc7e5f3f537098f38933f (diff) | |
download | rneovim-28b5c73bf8b5cc92451a4030b4ffbbad6c56374b.tar.gz rneovim-28b5c73bf8b5cc92451a4030b4ffbbad6c56374b.tar.bz2 rneovim-28b5c73bf8b5cc92451a4030b4ffbbad6c56374b.zip |
refactor(plines): move horizontal size functions to plines.c
fix style.
Diffstat (limited to 'src/nvim/mouse.c')
-rw-r--r-- | src/nvim/mouse.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/mouse.c b/src/nvim/mouse.c index c46222460b..6c25525936 100644 --- a/src/nvim/mouse.c +++ b/src/nvim/mouse.c @@ -621,10 +621,10 @@ static int mouse_adjust_click(win_T *wp, int row, int col) // scanned *up to* `col`, nudging it left or right when concealed characters // are encountered. // - // win_chartabsize() is used to keep track of the virtual column position relative - // to the line's bytes. For example: if col == 9 and the line starts with a - // tab that's 8 columns wide, we would want the cursor to be highlighting the - // second byte, not the ninth. + // win_chartabsize() is used to keep track of the virtual column position + // relative to the line's bytes. For example: if col == 9 and the line + // starts with a tab that's 8 columns wide, we would want the cursor to be + // highlighting the second byte, not the ninth. linenr_T lnum = wp->w_cursor.lnum; char_u *line = ml_get(lnum); |