aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/keycodes.h
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2024-03-09 14:57:57 -0700
committerJosh Rahm <joshuarahm@gmail.com>2024-03-09 14:57:57 -0700
commitc324271b99eee4c621463f368914d57cd729bd9c (patch)
tree5d979d333a2d5f9c080991d5482fd5916f8579c6 /src/nvim/keycodes.h
parent931bffbda3668ddc609fc1da8f9eb576b170aa52 (diff)
parentade1b12f49c3b3914c74847d791eb90ea90b56b7 (diff)
downloadrneovim-c324271b99eee4c621463f368914d57cd729bd9c.tar.gz
rneovim-c324271b99eee4c621463f368914d57cd729bd9c.tar.bz2
rneovim-c324271b99eee4c621463f368914d57cd729bd9c.zip
Merge remote-tracking branch 'upstream/master' into userreg
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,