diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2021-10-02 16:59:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-02 07:59:41 -0700 |
commit | 9c268263b1792d00b3ffdfd7495af2575862656e (patch) | |
tree | 39153ef6da8b4f464c1a14602d04d99579bbd33f /src/nvim/decoration.c | |
parent | 898f91f0f3cedb224cde1c5b6840abea3e767892 (diff) | |
download | rneovim-9c268263b1792d00b3ffdfd7495af2575862656e.tar.gz rneovim-9c268263b1792d00b3ffdfd7495af2575862656e.tar.bz2 rneovim-9c268263b1792d00b3ffdfd7495af2575862656e.zip |
refactor: format with uncrustify #15842
* refactor: format with uncrustify
* refactor: convert function comments to doxygen
Diffstat (limited to 'src/nvim/decoration.c')
-rw-r--r-- | src/nvim/decoration.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/decoration.c b/src/nvim/decoration.c index 561be9968a..4e80528c74 100644 --- a/src/nvim/decoration.c +++ b/src/nvim/decoration.c @@ -421,11 +421,11 @@ int decor_virtual_lines(win_T *wp, linenr_T lnum) return 0; } if (buf->b_virt_line_pos < 0) { - mtpos_t pos = marktree_lookup(buf->b_marktree, buf->b_virt_line_mark, NULL); - if (pos.row < 0) { - buf->b_virt_line_mark = 0; - } - buf->b_virt_line_pos = pos.row + (buf->b_virt_line_above ? 0 : 1); + mtpos_t pos = marktree_lookup(buf->b_marktree, buf->b_virt_line_mark, NULL); + if (pos.row < 0) { + buf->b_virt_line_mark = 0; + } + buf->b_virt_line_pos = pos.row + (buf->b_virt_line_above ? 0 : 1); } return (lnum-1 == buf->b_virt_line_pos) ? (int)kv_size(buf->b_virt_lines) : 0; |