aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/keycodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/keycodes.h')
-rw-r--r--src/nvim/keycodes.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/nvim/keycodes.h b/src/nvim/keycodes.h
index db9ef38cc3..18af3f87d6 100644
--- a/src/nvim/keycodes.h
+++ b/src/nvim/keycodes.h
@@ -1,11 +1,7 @@
#pragma once
-#include <stddef.h>
-
#include "nvim/ascii_defs.h"
-#include "nvim/option_defs.h"
-#include "nvim/option_vars.h"
-#include "nvim/strings.h"
+#include "nvim/eval/typval_defs.h" // IWYU pragma: keep
// Keycode definitions for special keys.
//
@@ -476,11 +472,6 @@ enum key_extra {
/// This is a total of 6 tokens, and is currently the longest one possible.
#define MAX_KEY_CODE_LEN 6
-#define FLAG_CPO_BSLASH 0x01
-#define CPO_TO_CPO_FLAGS ((vim_strchr((char *)p_cpo, CPO_BSLASH) == NULL) \
- ? 0 \
- : FLAG_CPO_BSLASH)
-
/// Flags for replace_termcodes()
enum {
REPTERM_FROM_PART = 1,