diff options
author | Lewis Russell <lewis6991@gmail.com> | 2022-09-02 17:39:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-02 17:39:49 +0100 |
commit | 1ffd527c837fb2465c9659273bbe5447a1352db2 (patch) | |
tree | 2d6a88147b4c91a4cfbf13fc8ab98d3f7567ebec /src/nvim/normal.h | |
parent | 69456f3414f112853eea1b3214a929d99da556d9 (diff) | |
download | rneovim-1ffd527c837fb2465c9659273bbe5447a1352db2.tar.gz rneovim-1ffd527c837fb2465c9659273bbe5447a1352db2.tar.bz2 rneovim-1ffd527c837fb2465c9659273bbe5447a1352db2.zip |
refactor: migrate comment style (#20012)
Done automatically using the following perl command:
perl -pi -0777pe 's#\n\K */\*\n(.+?)\s*\*/\n#join("\n", map { $_ =~ s:^\s*\K \*://:; $_ } split("\n", $1)) . "\n"#sge' src/nvim/**/*.c
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'src/nvim/normal.h')
-rw-r--r-- | src/nvim/normal.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/nvim/normal.h b/src/nvim/normal.h index 13ea233658..0317080f4f 100644 --- a/src/nvim/normal.h +++ b/src/nvim/normal.h @@ -22,9 +22,7 @@ typedef enum { kMTUnknown = -1, ///< Unknown or invalid motion type } MotionType; -/* - * Arguments for operators. - */ +// Arguments for operators. typedef struct oparg_S { int op_type; // current pending operator type int regname; // register to use for the operator @@ -53,9 +51,7 @@ typedef struct oparg_S { // block } oparg_T; -/* - * Arguments for Normal mode commands. - */ +// Arguments for Normal mode commands. typedef struct cmdarg_S { oparg_T *oap; // Operator arguments int prechar; // prefix character (optional, always 'g') |