aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/keycodes.h
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2024-03-09 15:00:41 -0700
committerJosh Rahm <joshuarahm@gmail.com>2024-03-09 15:00:41 -0700
commit7a7f497b483cd65e340064f23ed1c73425ecba0a (patch)
treed5c99ea22a1e10300d06165f8ac96df6b0dc59e1 /src/nvim/keycodes.h
parent1b7b916b7631ddf73c38e3a0070d64e4636cb2f3 (diff)
parentade1b12f49c3b3914c74847d791eb90ea90b56b7 (diff)
downloadrneovim-7a7f497b483cd65e340064f23ed1c73425ecba0a.tar.gz
rneovim-7a7f497b483cd65e340064f23ed1c73425ecba0a.tar.bz2
rneovim-7a7f497b483cd65e340064f23ed1c73425ecba0a.zip
Merge remote-tracking branch 'upstream/master' into aucmd_textputpost
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,