aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/edit.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-05-25 18:01:06 +0800
committerGitHub <noreply@github.com>2023-05-25 18:01:06 +0800
commitaa9d46b6724cf3454aca602e64350856827c3ab8 (patch)
tree1c95080c85ac0df1b6930aa82f8aeb9476ff7583 /src/nvim/edit.c
parentebb10d624825468c1f75bd14725cce500974b673 (diff)
parent50efdd6ccf1891392c048b92da5e5d123a30ff26 (diff)
downloadrneovim-aa9d46b6724cf3454aca602e64350856827c3ab8.tar.gz
rneovim-aa9d46b6724cf3454aca602e64350856827c3ab8.tar.bz2
rneovim-aa9d46b6724cf3454aca602e64350856827c3ab8.zip
Merge pull request #23744 from luukvbaal/spell
vim-patch:9.0.{0175,0590,0608,0664}
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r--src/nvim/edit.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c
index a25387f5a6..d6d5ff8ac7 100644
--- a/src/nvim/edit.c
+++ b/src/nvim/edit.c
@@ -53,6 +53,7 @@
#include "nvim/popupmenu.h"
#include "nvim/pos.h"
#include "nvim/search.h"
+#include "nvim/spell.h"
#include "nvim/state.h"
#include "nvim/strings.h"
#include "nvim/syntax.h"
@@ -1526,8 +1527,8 @@ void edit_unputchar(void)
}
}
-// Called when p_dollar is set: display a '$' at the end of the changed text
-// Only works when cursor is in the line that changes.
+/// Called when "$" is in 'cpoptions': display a '$' at the end of the changed
+/// text. Only works when cursor is in the line that changes.
void display_dollar(colnr_T col_arg)
{
colnr_T col = col_arg < 0 ? 0 : col_arg;