Commit: runtime(doc): Reformat example at :h gui-w32-fullscreen

1 view
Skip to first unread message

Christian Brabandt

unread,
Jan 31, 2026, 4:46:36 AMJan 31
to vim...@googlegroups.com
runtime(doc): Reformat example at :h gui-w32-fullscreen

Commit: https://github.com/vim/vim/commit/602e6042a3ee1c1d8caaf62e7d07cf74a504a809
Author: Doug Kearns <dougk...@gmail.com>
Date: Sat Jan 31 09:42:05 2026 +0000

runtime(doc): Reformat example at :h gui-w32-fullscreen

Use standard indent and remove unnecessary bang.

closes: #19285

Signed-off-by: Doug Kearns <dougk...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/gui_w32.txt b/runtime/doc/gui_w32.txt
index 475b12e96..e0e3eccf8 100644
--- a/runtime/doc/gui_w32.txt
+++ b/runtime/doc/gui_w32.txt
@@ -1,4 +1,4 @@
-*gui_w32.txt* For Vim version 9.1. Last change: 2025 Dec 21
+*gui_w32.txt* For Vim version 9.1. Last change: 2026 Jan 30


VIM REFERENCE MANUAL by Bram Moolenaar
@@ -512,12 +512,12 @@ to the 'guioptions' setting.

For convenience, you can define a command or mapping to toggle fullscreen mode:
>
- command! ToggleFullscreen {
- if &guioptions =~# 's'
- set guioptions-=s
- else
- set guioptions+=s
- endif
+ command ToggleFullscreen {
+ if &guioptions =~# 's'
+ set guioptions-=s
+ else
+ set guioptions+=s
+ endif
}

map <expr> <F11> &go =~# 's' ? ":se go-=s<CR>" : ":se go+=s<CR>"
Reply all
Reply to author
Forward
0 new messages