diff options
| author | dundargoc <gocdundar@gmail.com> | 2023-10-20 15:10:33 +0200 |
|---|---|---|
| committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-10-23 20:06:21 +0200 |
| commit | 5f03a1eaabfc8de2b3a9c666fcd604763f41e152 (patch) | |
| tree | 2a4e38bf7ac44749bd876d5e4d822f8ac604c2ae /src/nvim/ui_client.h | |
| parent | e606604322815abd3dc91a5595a0aa976a9aded7 (diff) | |
| download | rneovim-5f03a1eaabfc8de2b3a9c666fcd604763f41e152.tar.gz rneovim-5f03a1eaabfc8de2b3a9c666fcd604763f41e152.tar.bz2 rneovim-5f03a1eaabfc8de2b3a9c666fcd604763f41e152.zip | |
build(lint): remove unnecessary clint.py rules
Uncrustify is the source of truth where possible.
Remove any redundant checks from clint.py.
Diffstat (limited to 'src/nvim/ui_client.h')
| -rw-r--r-- | src/nvim/ui_client.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/nvim/ui_client.h b/src/nvim/ui_client.h index 05964422f3..26bb037511 100644 --- a/src/nvim/ui_client.h +++ b/src/nvim/ui_client.h @@ -16,29 +16,29 @@ typedef struct { } UIClientHandler; // Temporary buffer for converting a single grid_line event -EXTERN size_t grid_line_buf_size INIT(= 0); -EXTERN schar_T *grid_line_buf_char INIT(= NULL); -EXTERN sattr_T *grid_line_buf_attr INIT(= NULL); +EXTERN size_t grid_line_buf_size INIT( = 0); +EXTERN schar_T *grid_line_buf_char INIT( = NULL); +EXTERN sattr_T *grid_line_buf_attr INIT( = NULL); // ID of the ui client channel. If zero, the client is not running. -EXTERN uint64_t ui_client_channel_id INIT(= 0); +EXTERN uint64_t ui_client_channel_id INIT( = 0); // exit status from embedded nvim process -EXTERN int ui_client_exit_status INIT(= 0); +EXTERN int ui_client_exit_status INIT( = 0); // TODO(bfredl): the current structure for how tui and ui_client.c communicate is a bit awkward. // This will be restructured as part of The UI Devirtualization Project. /// Whether ui client has sent nvim_ui_attach yet -EXTERN bool ui_client_attached INIT(= false); +EXTERN bool ui_client_attached INIT( = false); /// Whether ui client has gotten a response about the bg color of the terminal, /// kTrue=dark, kFalse=light, kNone=no response yet -EXTERN TriState ui_client_bg_response INIT(= kNone); +EXTERN TriState ui_client_bg_response INIT( = kNone); /// The ui client should forward its stdin to the nvim process /// by convention, this uses fd=3 (next free number after stdio) -EXTERN bool ui_client_forward_stdin INIT(= false); +EXTERN bool ui_client_forward_stdin INIT( = false); #define UI_CLIENT_STDIN_FD 3 // uncrustify:off |