diff options
author | dundargoc <gocdundar@gmail.com> | 2024-01-01 15:56:00 +0100 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-01-01 19:57:44 +0100 |
commit | b49d4e18a67d16548fa72013237a87564656170e (patch) | |
tree | 86c1f17eac78ecff4a292e43df9157ba51295f59 /src/nvim/globals.h | |
parent | f69658bc355e130fc2845a8e0edc8baa4f256329 (diff) | |
download | rneovim-b49d4e18a67d16548fa72013237a87564656170e.tar.gz rneovim-b49d4e18a67d16548fa72013237a87564656170e.tar.bz2 rneovim-b49d4e18a67d16548fa72013237a87564656170e.zip |
refactor: remove redundant NOLINT comments
Diffstat (limited to 'src/nvim/globals.h')
-rw-r--r-- | src/nvim/globals.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h index 50f3ef4010..0ace7f8e0e 100644 --- a/src/nvim/globals.h +++ b/src/nvim/globals.h @@ -366,7 +366,7 @@ EXTERN win_T *lastwin; // last window EXTERN win_T *prevwin INIT( = NULL); // previous window #define ONE_WINDOW (firstwin == lastwin) #define FOR_ALL_FRAMES(frp, first_frame) \ - for ((frp) = first_frame; (frp) != NULL; (frp) = (frp)->fr_next) // NOLINT + for ((frp) = first_frame; (frp) != NULL; (frp) = (frp)->fr_next) // When using this macro "break" only breaks out of the inner loop. Use "goto" // to break out of the tabpage loop. @@ -408,7 +408,7 @@ EXTERN buf_T *curbuf INIT( = NULL); // currently active buffer for (buf_T *buf = lastbuf; buf != NULL; buf = buf->b_prev) #define FOR_ALL_BUF_WININFO(buf, wip) \ - for ((wip) = (buf)->b_wininfo; (wip) != NULL; (wip) = (wip)->wi_next) // NOLINT + for ((wip) = (buf)->b_wininfo; (wip) != NULL; (wip) = (wip)->wi_next) // List of files being edited (global argument list). curwin->w_alist points // to this when the window is using the global argument list. |