diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2023-11-30 20:35:25 +0000 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2023-11-30 20:35:25 +0000 |
commit | 1b7b916b7631ddf73c38e3a0070d64e4636cb2f3 (patch) | |
tree | cd08258054db80bb9a11b1061bb091c70b76926a /src/nvim/keycodes.h | |
parent | eaa89c11d0f8aefbb512de769c6c82f61a8baca3 (diff) | |
parent | 4a8bf24ac690004aedf5540fa440e788459e5e34 (diff) | |
download | rneovim-aucmd_textputpost.tar.gz rneovim-aucmd_textputpost.tar.bz2 rneovim-aucmd_textputpost.zip |
Merge remote-tracking branch 'upstream/master' into aucmd_textputpostaucmd_textputpost
Diffstat (limited to 'src/nvim/keycodes.h')
-rw-r--r-- | src/nvim/keycodes.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/nvim/keycodes.h b/src/nvim/keycodes.h index 7842dee92c..db9ef38cc3 100644 --- a/src/nvim/keycodes.h +++ b/src/nvim/keycodes.h @@ -1,10 +1,10 @@ -#ifndef NVIM_KEYCODES_H -#define NVIM_KEYCODES_H +#pragma once #include <stddef.h> -#include "nvim/ascii.h" +#include "nvim/ascii_defs.h" #include "nvim/option_defs.h" +#include "nvim/option_vars.h" #include "nvim/strings.h" // Keycode definitions for special keys. @@ -59,7 +59,7 @@ // Used for switching Select mode back on after a mapping or menu. #define KS_SELECT 245 -#define K_SELECT_STRING (char_u *)"\200\365X" +#define K_SELECT_STRING "\200\365X" /// Used a termcap entry that produces a normal character. #define KS_KEY 242 @@ -500,4 +500,3 @@ enum { #ifdef INCLUDE_GENERATED_DECLARATIONS # include "keycodes.h.generated.h" #endif -#endif // NVIM_KEYCODES_H |