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

Use standard indent and remove unnecessary bang.

closes: #19285

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Doug Kearns
2026-01-31 09:42:05 +00:00
committed by Christian Brabandt
parent 371583642a
commit 602e6042a3
+7 -7
View File
@@ -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>"