mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.0988: getting directory contents is always case sorted
Problem: Getting directory contents is always case sorted. Solution: Add sort options and v:collate. (Christian Brabandt, closes #6229)
This commit is contained in:
@@ -1728,7 +1728,8 @@ set_one_cmd_context(
|
||||
{
|
||||
if ( STRNCMP(arg, "messages", p - arg) == 0
|
||||
|| STRNCMP(arg, "ctype", p - arg) == 0
|
||||
|| STRNCMP(arg, "time", p - arg) == 0)
|
||||
|| STRNCMP(arg, "time", p - arg) == 0
|
||||
|| STRNCMP(arg, "collate", p - arg) == 0)
|
||||
{
|
||||
xp->xp_context = EXPAND_LOCALES;
|
||||
xp->xp_pattern = skipwhite(p);
|
||||
|
Reference in New Issue
Block a user