diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2021-10-09 14:20:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-09 05:20:16 -0700 |
commit | 0fc8597f011e0927e529abd11bf0ddd8d0d1eaab (patch) | |
tree | 2339570a059d7ebb41f26db32b032440d1505ee7 /src/nvim/eval/encode.h | |
parent | a36c6e5df959867ff4041405f4098b7833281517 (diff) | |
download | rneovim-0fc8597f011e0927e529abd11bf0ddd8d0d1eaab.tar.gz rneovim-0fc8597f011e0927e529abd11bf0ddd8d0d1eaab.tar.bz2 rneovim-0fc8597f011e0927e529abd11bf0ddd8d0d1eaab.zip |
refactor: format header files with uncrustify #15877
* refactor: format header files with uncrustify
* fixup(justin): skip formatting of terminfo_defs.h
* fixup: force winsock2 to be included first
* fixup: simplify disable/enable directive to "uncrustify:off/on"
Diffstat (limited to 'src/nvim/eval/encode.h')
-rw-r--r-- | src/nvim/eval/encode.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/nvim/eval/encode.h b/src/nvim/eval/encode.h index 596bb49ae0..8755ff48ac 100644 --- a/src/nvim/eval/encode.h +++ b/src/nvim/eval/encode.h @@ -1,9 +1,8 @@ #ifndef NVIM_EVAL_ENCODE_H #define NVIM_EVAL_ENCODE_H -#include <stddef.h> - #include <msgpack.h> +#include <stddef.h> #include "nvim/eval.h" #include "nvim/garray.h" @@ -49,8 +48,7 @@ static inline ListReaderState encode_init_lrstate(const list_T *const list) .offset = 0, .li_length = (TV_LIST_ITEM_TV(tv_list_first(list))->vval.v_string == NULL ? 0 - : STRLEN(TV_LIST_ITEM_TV( - tv_list_first(list))->vval.v_string)), + : STRLEN(TV_LIST_ITEM_TV(tv_list_first(list))->vval.v_string)), }; } |