Mercurial > vim
diff src/structs.h @ 28769:78fc778de076 v8.2.4909
patch 8.2.4909: MODE_ enum entries names are too generic
Commit: https://github.com/vim/vim/commit/ac4174e166dd76c72907caa76db0e7cd878ac667
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 7 16:38:24 2022 +0100
patch 8.2.4909: MODE_ enum entries names are too generic
Problem: MODE_ enum entries names are too generic.
Solution: use CH_MODE_.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 07 May 2022 17:45:02 +0200 |
parents | 2bd5cb054180 |
children | d0241e74bfdb |
line wrap: on
line diff
--- a/src/structs.h +++ b/src/structs.h @@ -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 {