comparison 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
comparison
equal deleted inserted replaced
28768:c8ffba1b1c9c 28769:78fc778de076
2196 }; 2196 };
2197 2197
2198 // mode for a channel 2198 // mode for a channel
2199 typedef enum 2199 typedef enum
2200 { 2200 {
2201 MODE_NL = 0, 2201 CH_MODE_NL = 0,
2202 MODE_RAW, 2202 CH_MODE_RAW,
2203 MODE_JSON, 2203 CH_MODE_JSON,
2204 MODE_JS, 2204 CH_MODE_JS,
2205 MODE_LSP // Language Server Protocol (http + json) 2205 CH_MODE_LSP // Language Server Protocol (http + json)
2206 } ch_mode_T; 2206 } ch_mode_T;
2207 2207
2208 typedef enum { 2208 typedef enum {
2209 JIO_PIPE, // default 2209 JIO_PIPE, // default
2210 JIO_NULL, 2210 JIO_NULL,