Commit Graph

72 Commits

Author SHA1 Message Date
bfa16364f1 runtime(doc): update documentation on tabstop settings
Unify the treatment of tabstop, correct errors and deprecate smarttab
usage.

closes: #17444

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-06-10 21:12:31 +02:00
d5fdfa5c9c patch 9.1.1426: completion: register contents not completed
Problem:  CTRL-X CTRL-R only completes individual words from registers,
          making it difficult to insert complete register content.
Solution: Add consecutive CTRL-X CTRL-R support - first press completes
          words, second press completes full register lines, similar to
          CTRL-X CTRL-L and CTRL-X CTRL-P behavior (glepnir).

closes: #17395

Signed-off-by: glepnir <glephunter@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-06-02 19:45:41 +02:00
0546068aae patch 9.1.1408: not easily possible to complete from register content
Problem:  not easily possible to complete from register content
Solution: add register-completion submode using i_CTRL-X_CTRL-R
          (glepnir)

closes: #17354

Signed-off-by: glepnir <glephunter@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-05-26 18:25:57 +02:00
f2b16986a1 patch 9.1.1258: regexp: max \U and \%U value is limited by INT_MAX
Problem:  regexp: max \U and \%U value is limited by INT_MAX but gives a
          confusing error message (related: v8.1.0985).
Solution: give a better error message when the value reaches INT_MAX

When searching Vim allows to get up to 8 hex characters using the /\V
and /\%V regex atoms.  However, when using "/\UFFFFFFFF" the code point is
already above what an integer variable can hold, which is 2,147,483,647.

Since patch v8.1.0985, Vim already limited the max codepoint to INT_MAX
(otherwise it caused a crash in the nfa regex engine), but instead of
error'ing out it silently fell back to parse the number as a backslash
value and not as a codepoint value and as such this "/[\UFFFFFFFF]" will
happily find a "\" or an literal "F".  And this "/[\d127-\UFFFFFFFF]"
will error out as "reverse range in character class).

Interestingly, the max Unicode codepoint value is U+10FFFF which still
fits into an ordinary integer value,  which means, that we don't even
need to parse 8 hex characters, but 6 should have been enough.

However, let's not limit Vim to search for only max 6 hex characters
(which would be a backward incompatible change), but instead allow all 8
characters and only if the codepoint reaches INT_MAX, give a more
precise error message (about what the max unicode codepoint value is).
This allows to search for "[\U7FFFFFFE]" (will likely return "E486
Pattern not found") and "[/\U7FFFFFF]" now errors "E1517: Value too
large, max Unicode codepoint is U+10FFFF".

While this change is straight forward on architectures where long is 8
bytes, this is not so simple on Windows or 32bit architectures where long
is 4 bytes (and therefore the test fails there).  To account for that,
let's make use of the vimlong_T number type and make a few corresponding
changes in the regex engine code and cast the value to the expected data
type. This however may not work correctly on systems that doesn't have
the long long datatype (e.g. OpenVMS) and probably the test will fail
there.

fixes: #16949
closes: #16994

Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-03-29 09:08:58 +01:00
18defabaeb runtime(doc): add a table of supported Operating Systems
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-11-10 20:10:42 +01:00
89872f58a9 runtime(doc): update formatting and syntax
closes: #15800

Signed-off-by: Milly <milly.ca@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-10-05 17:16:18 +02:00
93e0d2e815 runtime(doc): update vi_diff.txt: add default value for 'flash'
The "flash" option was added relatively late and seems to be exclusive
to System V. (It's not in 4.4BSD and it's not in V8 UNIX, checked [on
TUHS](https://www.tuhs.org/cgi-bin/utree.pl).) The oldest occurrence of
`flash` in "a vi" I could find is in SysV R2 for the VAX, where it
[defaults to
1](https://github.com/ryanwoodsmall/oldsysv/blob/master/sysvr2-vax/src/cmd/vi/vax/ex_data.c)
= on.

closes: #14778

Signed-off-by: Cthulhux <github@tuxproject.de>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-15 20:54:35 +02:00
b4ddc6c11e patch 9.1.0000: Vim 9.1 release
Problem:  Need a new release
Solution: Release Vim 9.1

Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-01-02 16:51:11 +01:00
eb49041875 release version 9.0
Problem:    About time to release Vim 9.0.
Solution:   Update the version number everywhere.
2022-06-28 13:44:46 +01:00
cbaff5e06e Update runtime files 2022-04-08 17:45:08 +01:00
e0e3917554 Update runtime files. 2021-01-25 21:14:57 +01:00
98a29d00a4 Update runtime files. 2021-01-18 19:55:44 +01:00
207f009326 Update runtime files. 2020-08-30 17:20:20 +02:00
6938e27abd patch 8.2.0931: some remarks about BeOS remain
Problem:    Some remarks about BeOS remain.
Solution:   Remove BeOS remarks from the help and other files. (Emir Sari,
            closes #6221)
2020-06-07 22:23:19 +02:00
8024f93636 Update runtime files. 2020-01-14 19:29:13 +01:00
5666fcd0bd Update runtime files. 2019-12-26 14:35:26 +01:00
6f345a1458 patch 8.2.0017: OS/2 and MS-DOS are still mentioned
Problem:    OS/2 and MS-DOS are still mentioned, even though support was
            removed long ago.
Solution:   Update documentation. (Yegappan Lakshmanan, closes #5368)
2019-12-17 21:27:18 +01:00
98056533b9 Vim 8.2 release 2019-12-12 14:18:35 +01:00
574ee7bc12 Update runtime files 2019-11-13 23:04:29 +01:00
2e693a88b2 Update runtime files. 2019-10-16 22:35:02 +02:00
5be4ceecea Update runtime files. 2019-09-27 19:34:08 +02:00
68e6560b84 Update runtime files. 2019-05-26 21:33:31 +02:00
a6c27c47dd Update runtime files 2019-05-09 19:16:22 +02:00
25c9c680ec patch 8.1.1280: remarks about functionality not in Vi clutters the help
Problem:    Remarks about functionality not in Vi clutters the help.
Solution:   Move all info about what is new in Vim or already existed in Vi to
            vi_diff.txt.  Remove {not in Vi} remarks. (closes #4268) Add
            "noet" to the help files modeline.  Also include many other help
            file improvements.
2019-05-05 18:13:34 +02:00
6c60f47fb9 patch 8.1.1226: {not in Vi} remarks get in the way of useful help text
Problem:    {not in Vi} remarks get in the way of useful help text.
Solution:   Make a list of all Vi options, instead of mentioning what Vi does
            not have.  Update the help text for options.
2019-04-28 16:00:35 +02:00
d473c8c101 Update runtime files. 2018-08-11 18:00:22 +02:00
b1c9198afb Vim 8.1 release
Update version number and information.  Fix a couple of tests.
2018-05-17 17:04:55 +02:00
bb76f24af2 Vim 8.0 release 2016-09-12 14:24:39 +02:00
dc1f1645cb Updated runtime files. 2016-08-16 18:33:43 +02:00
38a55639d6 Update runtime files. 2016-02-15 22:07:32 +01:00
b4ff518d95 Updated runtime files. 2015-11-10 21:15:48 +01:00
26df092843 updated for version 7.4.191
Problem:    Escaping a file name for shell commands can't be done without a
            function.
Solution:   Add the :S file name modifier.
2014-02-23 23:39:13 +01:00
7cba6c0636 Updated runtime files. 2013-09-05 22:13:31 +02:00
3b1db36689 release version 7.4 2013-08-10 15:00:24 +02:00
1a42b4befb Update files for the 7.4b BETA release. 2013-07-28 18:29:08 +02:00
913df81e74 Vim 7.4a BETA release. 2013-07-06 15:44:11 +02:00
9b4512500a Update runtime files. 2012-08-15 17:43:31 +02:00
5302d9ebc1 Updated runtime files. 2011-09-14 17:55:08 +02:00
483c5d80a7 Updated runtime files and translations. 2010-10-20 18:45:33 +02:00
4a74803ef8 Runtime file updates. 2010-09-30 21:47:56 +02:00
7f03644116 Last changes for the 7.3 release! 2010-08-15 15:24:20 +02:00
4421d6af22 Version 7.3f -> 7.3g 2010-08-14 13:33:56 +02:00
82d1c33a8a Version 7.3e -> 7.3f. 2010-08-09 20:16:32 +02:00
257a9c873f 7.3d -> 7.3e. 2010-08-04 19:29:04 +02:00
9379f83030 Version 7.3c -> 7.3d 2010-08-01 20:38:51 +02:00
c3301874a6 7.3b -> 7.3c 2010-07-25 20:53:06 +02:00
b8521960d6 Update timestamps for recently changed help files. 2010-07-20 22:45:13 +02:00
d28478b557 Vim 7.3a -> 7.3b. 2010-07-18 23:29:58 +02:00
0ba042961f Added Lua interfae. (Luis Carvalho) 2010-07-14 23:23:17 +02:00
fff2beeeaa First step in the Vim 7.3 branch. Changed version numbers. 2010-05-15 13:56:02 +02:00