]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): Reformat example at :h gui-w32-fullscreen
authorDoug Kearns <dougkearns@gmail.com>
Sat, 31 Jan 2026 09:42:05 +0000 (09:42 +0000)
committerChristian Brabandt <cb@256bit.org>
Sat, 31 Jan 2026 09:42:05 +0000 (09:42 +0000)
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>
runtime/doc/gui_w32.txt

index 475b12e962c006439fd9496862a33033261ecfc9..e0e3eccf8f62132308529a778c37957fe60f47ff 100644 (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>"