aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/message.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-11-08 09:48:48 +0100
committerGitHub <noreply@github.com>2022-11-08 09:48:48 +0100
commitfae754073289566051433fae74ec65783f9e7a6a (patch)
tree27fa3555e5a8a016dce55cc39f20599e32cf7046 /src/nvim/message.c
parentd187c00faf4feb76bdc544b87bea71f217d05957 (diff)
parent731cdde28ea8d48cc23ba2752a08c261c87eee92 (diff)
downloadrneovim-fae754073289566051433fae74ec65783f9e7a6a.tar.gz
rneovim-fae754073289566051433fae74ec65783f9e7a6a.tar.bz2
rneovim-fae754073289566051433fae74ec65783f9e7a6a.zip
Merge pull request #20821 from dundargoc/refactor/clang-tidy
refactor: fix clang-tidy warnings
Diffstat (limited to 'src/nvim/message.c')
-rw-r--r--src/nvim/message.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c
index fa1c8036e6..f274bd7289 100644
--- a/src/nvim/message.c
+++ b/src/nvim/message.c
@@ -59,8 +59,10 @@ struct msgchunk_S {
};
// Magic chars used in confirm dialog strings
-#define DLG_BUTTON_SEP '\n'
-#define DLG_HOTKEY_CHAR '&'
+enum {
+ DLG_BUTTON_SEP = '\n',
+ DLG_HOTKEY_CHAR = '&',
+};
static int confirm_msg_used = false; // displaying confirm_msg
#ifdef INCLUDE_GENERATED_DECLARATIONS