0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.4909: MODE_ enum entries names are too generic

Problem:    MODE_ enum entries names are too generic.
Solution:   use CH_MODE_.
This commit is contained in:
Bram Moolenaar
2022-05-07 16:38:24 +01:00
parent 48a8a83303
commit ac4174e166
5 changed files with 56 additions and 51 deletions

View File

@@ -2198,11 +2198,11 @@ struct cbq_S
// mode for a channel
typedef enum
{
MODE_NL = 0,
MODE_RAW,
MODE_JSON,
MODE_JS,
MODE_LSP // Language Server Protocol (http + json)
CH_MODE_NL = 0,
CH_MODE_RAW,
CH_MODE_JSON,
CH_MODE_JS,
CH_MODE_LSP // Language Server Protocol (http + json)
} ch_mode_T;
typedef enum {