aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/textformat.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2024-01-25 00:34:18 +0100
committerGitHub <noreply@github.com>2024-01-25 07:34:18 +0800
commit76a659eb773ca69d8b6a8f08e1a5c538dc03b8fd (patch)
treefd866e264e75629d4d16e242f20f824c975b8054 /src/nvim/textformat.c
parent6ea6b3fee27d51607ca4a5ace46dbc38a4481bcb (diff)
downloadrneovim-76a659eb773ca69d8b6a8f08e1a5c538dc03b8fd.tar.gz
rneovim-76a659eb773ca69d8b6a8f08e1a5c538dc03b8fd.tar.bz2
rneovim-76a659eb773ca69d8b6a8f08e1a5c538dc03b8fd.zip
docs: various fixes (#27063)
Co-authored-by: lmenou <menl94629@gmail.com> Co-authored-by: altermo <107814000+altermo@users.noreply.github.com> Co-authored-by: VanaIgr <vanaigranov@gmail.com> Co-authored-by: Gregory Anders <greg@gpanders.com>
Diffstat (limited to 'src/nvim/textformat.c')
-rw-r--r--src/nvim/textformat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/textformat.c b/src/nvim/textformat.c
index e1b6d3acc9..6fa60239a2 100644
--- a/src/nvim/textformat.c
+++ b/src/nvim/textformat.c
@@ -81,7 +81,7 @@ void internal_format(int textwidth, int second_indent, int flags, bool format_on
bool do_comments = (flags & INSCHAR_DO_COM);
int has_lbr = curwin->w_p_lbr;
- // make sure win_lbr_chartabsize() counts correctly
+ // make sure win_charsize() counts correctly
curwin->w_p_lbr = false;
// When 'ai' is off we don't want a space under the cursor to be