Mercurial > vim
comparison runtime/doc/mlang.txt @ 20873:69055d27e85e v8.2.0988
patch 8.2.0988: getting directory contents is always case sorted
Commit: https://github.com/vim/vim/commit/84cf6bd81bec93b49166cd48fccc7087fdbaa6fc
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jun 16 20:03:43 2020 +0200
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 https://github.com/vim/vim/issues/6229)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 16 Jun 2020 20:15:05 +0200 |
parents | af69c9335223 |
children | 59f93c2d2551 |
comparison
equal
deleted
inserted
replaced
20872:4b47824b3f1e | 20873:69055d27e85e |
---|---|
35 *:lan* *:lang* *:language* *E197* | 35 *:lan* *:lang* *:language* *E197* |
36 :lan[guage] | 36 :lan[guage] |
37 :lan[guage] mes[sages] | 37 :lan[guage] mes[sages] |
38 :lan[guage] cty[pe] | 38 :lan[guage] cty[pe] |
39 :lan[guage] tim[e] | 39 :lan[guage] tim[e] |
40 :lan[guage] col[late] | |
40 Print the current language (aka locale). | 41 Print the current language (aka locale). |
41 With the "messages" argument the language used for | 42 With the "messages" argument the language used for |
42 messages is printed. Technical: LC_MESSAGES. | 43 messages is printed. Technical: LC_MESSAGES. |
43 With the "ctype" argument the language used for | 44 With the "ctype" argument the language used for |
44 character encoding is printed. Technical: LC_CTYPE. | 45 character encoding is printed. Technical: LC_CTYPE. |
45 With the "time" argument the language used for | 46 With the "time" argument the language used for |
46 strftime() is printed. Technical: LC_TIME. | 47 strftime() is printed. Technical: LC_TIME. |
48 With the "collate" argument the language used for | |
49 collation order is printed. Technical: LC_COLLATE. | |
47 Without argument all parts of the locale are printed | 50 Without argument all parts of the locale are printed |
48 (this is system dependent). | 51 (this is system dependent). |
49 The current language can also be obtained with the | 52 The current language can also be obtained with the |
50 |v:lang|, |v:ctype| and |v:lc_time| variables. | 53 |v:lang|, |v:ctype|, |v:collate| and |v:lc_time| |
54 variables. | |
51 | 55 |
52 :lan[guage] {name} | 56 :lan[guage] {name} |
53 :lan[guage] mes[sages] {name} | 57 :lan[guage] mes[sages] {name} |
54 :lan[guage] cty[pe] {name} | 58 :lan[guage] cty[pe] {name} |
55 :lan[guage] tim[e] {name} | 59 :lan[guage] tim[e] {name} |
60 :lan[guage] col[late] {name} | |
56 Set the current language (aka locale) to {name}. | 61 Set the current language (aka locale) to {name}. |
57 The locale {name} must be a valid locale on your | 62 The locale {name} must be a valid locale on your |
58 system. Some systems accept aliases like "en" or | 63 system. Some systems accept aliases like "en" or |
59 "en_US", but some only accept the full specification | 64 "en_US", but some only accept the full specification |
60 like "en_US.ISO_8859-1". On Unix systems you can use | 65 like "en_US.ISO_8859-1". On Unix systems you can use |
70 a different value from 'encoding' or "C". This sets | 75 a different value from 'encoding' or "C". This sets |
71 $LC_CTYPE. | 76 $LC_CTYPE. |
72 With the "time" argument the language used for time | 77 With the "time" argument the language used for time |
73 and date messages is set. This affects strftime(). | 78 and date messages is set. This affects strftime(). |
74 This sets $LC_TIME. | 79 This sets $LC_TIME. |
75 Without an argument both are set, and additionally | 80 With the "collate" argument the language used for the |
81 collation order is set. This affects sorting of | |
82 characters. This sets $LC_COLLATE. | |
83 Without an argument all are set, and additionally | |
76 $LANG is set. | 84 $LANG is set. |
77 When compiled with the |+float| feature the LC_NUMERIC | 85 When compiled with the |+float| feature the LC_NUMERIC |
78 value will always be set to "C", so that floating | 86 value will always be set to "C", so that floating |
79 point numbers use '.' as the decimal point. | 87 point numbers use '.' as the decimal point. |
80 This will make a difference for items that depend on | 88 This will make a difference for items that depend on |