[vim/vim] silence W23/W24 message when using :registers (PR #19166)

2 views
Skip to first unread message

Foxe Chen

unread,
Jan 12, 2026, 8:13:01 AM (17 hours ago) Jan 12
to vim/vim, Subscribed

Fixes #19161


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/19166

Commit Summary

  • 7f3519f silence W23/W24 message when using :registers

File Changes

(3 files)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19166@github.com>

h_east

unread,
Jan 12, 2026, 9:22:30 AM (16 hours ago) Jan 12
to vim/vim, Subscribed

@h-east commented on this pull request.


In src/globals.h:

> @@ -2142,3 +2142,6 @@ EXTERN int allow_osc_key INIT(= 0);
 EXTERN redraw_listener_T *redraw_listeners INIT(= NULL);
 EXTERN bool inside_redraw_on_start_cb INIT(= false);
 #endif
+
+// If greater than zero, then silence the W23/W24 warning.
+EXTERN int silence_w23_w24_msg INIT( = false);
⬇️ Suggested change
-EXTERN int silence_w23_w24_msg INIT( = false);
+EXTERN int silence_w23_w24_msg INIT( = 0);


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19166/review/3651015212@github.com>

Foxe Chen

unread,
Jan 12, 2026, 9:24:03 AM (16 hours ago) Jan 12
to vim/vim, Push

@64-bitman pushed 1 commit.


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19166/before/7f3519fd502b8331957fdce9d86996cb42b8f79b/after/b04ec1ed204e5b90f2b8ccf03f91bd60087cef57@github.com>

Christian Brabandt

unread,
Jan 12, 2026, 1:53:58 PM (11 hours ago) Jan 12
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#19166)

thanks


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19166/c3740016296@github.com>

Christian Brabandt

unread,
Jan 12, 2026, 1:58:42 PM (11 hours ago) Jan 12
to vim/vim, Subscribed

Closed #19166 via f396107.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19166/issue_event/21997249067@github.com>

Reply all
Reply to author
Forward
0 new messages