14 Commits

Author SHA1 Message Date
Riley Bruins 0a0830624a patch 9.1.0464: no whitespace padding in commentstring option in ftplugins
Problem:  no whitespace padding in commentstring option in ftplugins
Solution: Change default to include whitespace padding, update
          existing filetype plugins with the new default value
          (Riley Bruins)

closes: #14843

Signed-off-by: Riley Bruins <ribru17@hotmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-03 20:40:45 +02:00
Doug Kearns 93197fde0f runtime(ftplugin): Use "*" browsefilter pattern to match "All Files"
Problem:  The "*.*" browsefilter pattern only matches all files on
	  Windows (Daryl Lee)
Solution: Use "*" to filter on all platforms but keep "*.*" as the label
	  text on Windows. (Fixes #12685, Doug Kearns)

The *.* browsefilter pattern used to match "All Files" on Windows is a
legacy of the DOS 8.3 filename wildcard matching algorithm.  For reasons
of backward compatibility this still works on Windows to match all
files, even those without an extension.

However, this pattern only matches filenames containing a dot on other
platforms.  This often makes files without an extension difficult to
access from the file dialog, e.g., "Makefile"

On Windows it is still standard practice to use "*.*" for the filter
label so ftplugins should use "All Files (*.*)" on Windows and "All
Files (*)" on other platforms.  This matches Vim's default browsefilter
values.

This commit also normalises the browsefilter conditional test to check
for the Win32 and GTK GUI features and an unset b:browsefilter.

closes: #12759

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-01-14 21:02:54 +01:00
Bram Moolenaar 48c3f4e0bf Update runtime files 2022-08-08 15:42:38 +01:00
Bram Moolenaar 47c532e2bc Update runtime files 2022-03-19 15:18:53 +00:00
Bram Moolenaar 1588bc8ebe Update runtime files 2022-03-08 21:35:07 +00:00
Bram Moolenaar 9a7224b5a0 Fixed compatible mode in most runtime files. 2012-04-30 15:56:52 +02:00
Bram Moolenaar 84f7235bdb Updated runtime files. Add Dutch translations. 2012-03-11 15:57:40 +01:00
Bram Moolenaar 5c73622a90 Update runtime files. 2010-01-06 20:54:52 +01:00
Bram Moolenaar c1a11ed54c updated for version 7.2a 2008-06-24 22:09:24 +00:00
Bram Moolenaar c81e5e79a0 updated for version 7.1a 2007-05-05 18:24:42 +00:00
Bram Moolenaar 362e1a30c6 updated for version 7.0216 2006-03-06 23:29:24 +00:00
Bram Moolenaar cafda4f893 updated for version 7.0142 2005-09-06 19:25:11 +00:00
Bram Moolenaar 8299df966a updated for version 7.0007 2004-07-10 09:47:34 +00:00
Bram Moolenaar 071d4279d6 updated for version 7.0001 2004-06-13 20:20:40 +00:00