aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer_defs.h
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-09-06 16:23:00 +0200
committerGitHub <noreply@github.com>2022-09-06 07:23:00 -0700
commit12afc344deb2df3973904fe55813d700da985dbf (patch)
treed60d9da9563eabe9ea30a17e20f9c8dc21e4f495 /src/nvim/buffer_defs.h
parent84d1094958fdbdda67f629197924d4146e2a1887 (diff)
downloadrneovim-12afc344deb2df3973904fe55813d700da985dbf.tar.gz
rneovim-12afc344deb2df3973904fe55813d700da985dbf.tar.bz2
rneovim-12afc344deb2df3973904fe55813d700da985dbf.zip
refactor: migrate comment style 2 #20080
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r--src/nvim/buffer_defs.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h
index a520f3c0e7..3019a1323c 100644
--- a/src/nvim/buffer_defs.h
+++ b/src/nvim/buffer_defs.h
@@ -789,8 +789,8 @@ struct file_buffer {
int b_ind_cpp_extern_c;
int b_ind_pragma;
- linenr_T b_no_eol_lnum; /* non-zero lnum when last line of next binary
- * write should not have an end-of-line */
+ linenr_T b_no_eol_lnum; // non-zero lnum when last line of next binary
+ // write should not have an end-of-line
int b_start_eol; // last line had eol when it was read
int b_start_ffc; // first char of 'ff' when edit started
@@ -805,8 +805,8 @@ struct file_buffer {
// then set to indicate that a swap file may be opened later. It is reset
// if a swap file could not be opened.
bool b_may_swap;
- bool b_did_warn; /* Set to true if user has been warned on first
- change of a read-only file */
+ bool b_did_warn; // Set to true if user has been warned on first
+ // change of a read-only file
// Two special kinds of buffers:
// help buffer - used for help files, won't use a swap file.
@@ -1237,8 +1237,7 @@ struct window_S {
// w_valid is a bitfield of flags, which indicate if specific values are
// valid or need to be recomputed.
int w_valid;
- pos_T w_valid_cursor; /* last known position of w_cursor, used
- to adjust w_valid */
+ pos_T w_valid_cursor; // last known position of w_cursor, used to adjust w_valid
colnr_T w_valid_leftcol; // last known w_leftcol
bool w_viewport_invalid;
@@ -1383,8 +1382,7 @@ struct window_S {
int w_fraction;
int w_prev_fraction_row;
- linenr_T w_nrwidth_line_count; /* line count when ml_nrwidth_width
- * was computed. */
+ linenr_T w_nrwidth_line_count; // line count when ml_nrwidth_width was computed.
int w_nrwidth_width; // nr of chars to print line count.
qf_info_T *w_llist; // Location list for this window
@@ -1407,4 +1405,4 @@ struct window_S {
#define CHANGEDTICK(buf) \
(=== Include buffer.h & use buf_(get|set|inc) _changedtick ===)
-#endif // NVIM_BUFFER_DEFS_H
+#endif // NVIM_BUFFER_DEFS_H