aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ops.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-11-29 20:32:40 +0800
committerGitHub <noreply@github.com>2023-11-29 20:32:40 +0800
commita6cba103cebce535279db197f9efeb34e9d1171f (patch)
tree17a8d9b4ecabf8e2c02c07e18b81c85f2e7c429f /src/nvim/ops.c
parentf4001d27efae44c6c07678ad2c72eed5f1a25ea8 (diff)
downloadrneovim-a6cba103cebce535279db197f9efeb34e9d1171f.tar.gz
rneovim-a6cba103cebce535279db197f9efeb34e9d1171f.tar.bz2
rneovim-a6cba103cebce535279db197f9efeb34e9d1171f.zip
refactor: move some constants out of vim_defs.h (#26298)
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r--src/nvim/ops.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c
index e66f46945e..3a4e87edf7 100644
--- a/src/nvim/ops.c
+++ b/src/nvim/ops.c
@@ -32,7 +32,7 @@
#include "nvim/getchar.h"
#include "nvim/gettext.h"
#include "nvim/globals.h"
-#include "nvim/highlight_defs.h"
+#include "nvim/highlight.h"
#include "nvim/indent.h"
#include "nvim/indent_c.h"
#include "nvim/keycodes.h"
@@ -103,9 +103,9 @@ static const char e_search_pattern_and_expression_register_may_not_contain_two_o
#define OPF_LINES 1 // operator always works on lines
#define OPF_CHANGE 2 // operator changes text
-// The names of operators.
-// IMPORTANT: Index must correspond with defines in vim.h!!!
-// The third field indicates whether the operator always works on lines.
+/// The names of operators.
+/// IMPORTANT: Index must correspond with defines in ops.h!!!
+/// The third field indicates whether the operator always works on lines.
static char opchars[][3] = {
{ NUL, NUL, 0 }, // OP_NOP
{ 'd', NUL, OPF_CHANGE }, // OP_DELETE