vim-patch:fa0b069: runtime(doc): improve documentation style in editing.txt (#34646)

Usually, Vim's document provides example code after explanations.
However some part of the editing.txt doesn't follow the style, therefore
this commit modifies it so that it follows the usual style.

closes: vim/vim#17607

fa0b069728

Co-authored-by: mityu <mityu.mail@gmail.com>
Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
This commit is contained in:
zeertzjq
2025-06-26 08:02:53 +08:00
committed by GitHub
parent 731e616a79
commit c730374d44

View File

@ -1316,15 +1316,15 @@ b:browsefilter variable. You would most likely set b:browsefilter in a
filetype plugin, so that the browse dialog would contain entries related to filetype plugin, so that the browse dialog would contain entries related to
the type of file you are currently editing. Disadvantage: This makes it the type of file you are currently editing. Disadvantage: This makes it
difficult to start editing a file of a different type. To overcome this, you difficult to start editing a file of a different type. To overcome this, you
may want to add > can add the following as the final filter on Windows: >
All Files\t(*.*)\t*\n All Files\t(*.*)\t*\n
< <
as the final filter on Windows or > Or the following on other platforms, so that the user can still access any
desired file: >
All Files\t(*)\t*\n All Files\t(*)\t*\n
< <
on other platforms, so that the user can still access any desired file.
To avoid setting browsefilter when Vim does not actually support it, you can To avoid setting browsefilter when Vim does not actually support it, you can
use has("browsefilter"): > use has("browsefilter"): >