diff options
| author | Christian Clason <christian.clason@uni-due.de> | 2021-10-05 15:19:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-05 15:19:16 +0200 |
| commit | f6a9f0bfcaeb256bac1b1c8273e6c40750664967 (patch) | |
| tree | 488a1d6df5ef3917d8b75b481b4e12f1c63b5ffa /runtime/doc | |
| parent | 17f7c83f2930456f6819f372720cb53eb77ae694 (diff) | |
| download | rneovim-f6a9f0bfcaeb256bac1b1c8273e6c40750664967.tar.gz rneovim-f6a9f0bfcaeb256bac1b1c8273e6c40750664967.tar.bz2 rneovim-f6a9f0bfcaeb256bac1b1c8273e6c40750664967.zip | |
fix(vim-patch): add missing nginx runtime files (#15916)
Followup to incomplete runtime update https://github.com/neovim/neovim/pull/15911
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/eval.txt | 16 | ||||
| -rw-r--r-- | runtime/doc/mbyte.txt | 2 |
2 files changed, 8 insertions, 10 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index ff0b88d0a8..fe19bb3134 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1316,7 +1316,7 @@ A string constant accepts these special characters: \<xxx> Special key named "xxx". e.g. "\<C-W>" for CTRL-W. This is for use in mappings, the 0x80 byte is escaped. To use the double quote character it must be escaped: "<M-\">". - Don't use <Char-xxxx> to get a utf-8 character, use \uxxxx as + Don't use <Char-xxxx> to get a UTF-8 character, use \uxxxx as mentioned above. Note that "\xff" is stored as the byte 255, which may be invalid in some @@ -6344,8 +6344,8 @@ list2str({list} [, {utf8}]) *list2str()* join(map(list, {nr, val -> nr2char(val)}), '') < |str2list()| does the opposite. - When {utf8} is omitted or zero, the current 'encoding' is used. - When {utf8} is TRUE, always return UTF-8 characters. + UTF-8 encoding is always used, {utf8} option has no effect, + and exists only for backwards-compatibility. With UTF-8 composing characters work as expected: > list2str([97, 769]) returns "á" < @@ -7007,8 +7007,7 @@ nr2char({expr} [, {utf8}]) *nr2char()* nr2char(32) returns " " < Example for "utf-8": > nr2char(300) returns I with bow character -< When {utf8} is TRUE, always return UTF-8 characters. - UTF-8 encoding is always used, {utf8} option has no effect, +< UTF-8 encoding is always used, {utf8} option has no effect, and exists only for backwards-compatibility. Note that a NUL character in the file is specified with nr2char(10), because NULs are represented with newline @@ -8973,10 +8972,9 @@ str2list({string} [, {utf8}]) *str2list()* str2list("ABC") returns [65, 66, 67] < |list2str()| does the opposite. - When {utf8} is omitted or zero, the current 'encoding' is used. - When {utf8} is TRUE, always treat the String as UTF-8 - characters. With UTF-8 composing characters are handled - properly: > + UTF-8 encoding is always used, {utf8} option has no effect, + and exists only for backwards-compatibility. + With UTF-8 composing characters are handled properly: > str2list("á") returns [97, 769] < Can also be used as a |method|: > diff --git a/runtime/doc/mbyte.txt b/runtime/doc/mbyte.txt index 02c4ae70dd..3bbf36c642 100644 --- a/runtime/doc/mbyte.txt +++ b/runtime/doc/mbyte.txt @@ -888,7 +888,7 @@ Motif. Use the ":hi Menu font={fontname}" command for this. |:highlight| TYPING UTF-8 *utf-8-typing* If you are using X-Windows, you should find an input method that supports -utf-8. +UTF-8. If your system does not provide support for typing UTF-8, you can use the 'keymap' feature. This allows writing a keymap file, which defines a UTF-8 |