Bram Moolenaar
5da36052a4
patch 8.2.3913: help for expressions does not mention Vim9 syntax
...
Problem: Help for expressions does not mention Vim9 syntax.
Solution: Add the rules for Vim9 to the expression help. Rename functions
to match the help.
2021-12-27 15:39:57 +00:00
Yegappan Lakshmanan
27708e6c7b
patch 8.2.3908: cannot use a script-local function for 'foldtext'
...
Problem: Cannot use a script-local function for 'foldtext'.
Solution: Expand "s:" and "<SID>". (Yegappan Lakshmanan, closes #9411 )
2021-12-26 21:54:43 +00:00
Bram Moolenaar
1f318c6eac
patch 8.2.3906: Vim9 help still contains "under development" warnings
...
Problem: Vim9 help still contains "under development" warnings.
Solution: Remove the explicit warning.
2021-12-26 18:09:31 +00:00
Bram Moolenaar
71eb3ad579
patch 8.2.3901: Vim9: Cannot set 'cpo' in main .vimrc if using Vim9 script
...
Problem: Vim9: Cannot set 'cpo' in main .vimrc if using Vim9 script.
Solution: Do not restore 'cpo' at the end of the main .vimrc.
2021-12-26 12:07:30 +00:00
Yegappan Lakshmanan
8bb65f230d
patch 8.2.3900: it is not easy to use a script-local function for an option
...
Problem: It is not easy to use a script-local function for an option.
Solution: recognize s: and <SID> at the start of the expression. (Yegappan
Lakshmanan, closes #9401 )
2021-12-26 10:51:39 +00:00
Nir Lichtman
73a024209c
patch 8.2.3888: the argument list may contain duplicates
...
Problem: The argument list may contain duplicates.
Solution: Add the :argdedeupe command. (Nir Lichtman, closes #6235 )
2021-12-24 20:28:03 +00:00
Bram Moolenaar
fa3b72348d
Update runtime files
2021-12-24 13:18:38 +00:00
James McCoy
a80aad7174
patch 8.2.3874: cannot highlight the number column for a sign
...
Problem: Cannot highlight the number column for a sign.
Solution: Add the "numhl" argument. (James McCoy, closes #9381 )
2021-12-22 19:45:28 +00:00
Bram Moolenaar
6f79e614b2
patch 8.2.3864: cannot disable requesting key codes from xterm
...
Problem: Cannot disable requesting key codes from xterm.
Solution: Add the 'xtermcodes' option, default on.
2021-12-21 09:12:23 +00:00
Yegappan Lakshmanan
389b72196e
patch 8.2.3849: functions implementing reduce and map are too long
...
Problem: Functions implementing reduce and map are too long.
Solution: Use a function for each type of value. Add a few more test cases
and add to the help. (Yegappan Lakshmanan, closes #9370 )
2021-12-19 10:35:15 +00:00
rbtnn
0ccb5842f5
patch 8.2.3848: cannot use reduce() for a string
...
Problem: Cannot use reduce() for a string.
Solution: Make reduce() work with a string. (Naruhiko Nishino, closes #9366 )
2021-12-18 18:33:46 +00:00
Bram Moolenaar
259f443a93
patch 8.2.3835: the inline-function example does not work
...
Problem: The inline-function example does not work.
Solution: Drop ":let". Add EX_EXPR_ARG to CMD_var. (issue #9352 )
2021-12-17 12:45:22 +00:00
Bram Moolenaar
0e6adf8a29
Update runtime files
2021-12-16 14:41:10 +00:00
rbtnn
c479ce032f
patch 8.2.3818: cannot filter or map characters in a string
...
Problem: Cannot filter or map characters in a string.
Solution: Make filter() and map() work on a string. (Naruhiko Nishino,
closes #9327 )
2021-12-15 19:14:54 +00:00
Bram Moolenaar
1e78deb077
patch 8.2.3797: no good reason to limit the message history in tiny version
...
Problem: No good reason to limit the message history in the tiny version.
Solution: Always use 200.
2021-12-13 14:40:53 +00:00
Bram Moolenaar
739f13a55b
patch 8.2.3795: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the jumplist feature.
2021-12-13 13:12:53 +00:00
Bram Moolenaar
7b1463bca3
patch 8.2.3784: the help for options is outdated
...
Problem: The help for options is outdated.
Solution: Include all the recent changes.
2021-12-11 17:24:39 +00:00
Bakudankun
29f3a45915
patch 8.2.3780: ":cd" works differently on MS-Windows
...
Problem: ":cd" works differently on MS-Windows.
Solution: Add the 'cdhome' option. (closes #9324 )
2021-12-11 12:28:08 +00:00
Yegappan Lakshmanan
6409553b6e
patch 8.2.3751: cannot assign a lambda to an option that takes a function
...
Problem: Cannot assign a lambda to an option that takes a function.
Solution: Automatically convert the lambda to a string. (Yegappan
Lakshmanan, closes #9286 )
2021-12-06 11:03:55 +00:00
Bram Moolenaar
4700398e38
Update runtime files
2021-12-05 21:54:04 +00:00
Yegappan Lakshmanan
7645da568c
patch 8.2.3735: cannot use a lambda for 'imactivatefunc'
...
Problem: Cannot use a lambda for 'imactivatefunc'.
Solution: Add lambda support for 'imactivatefunc' and 'imstatusfunc'.
(Yegappan Lakshmanan, closes #9275 )
2021-12-04 14:02:30 +00:00
Yegappan Lakshmanan
8658c759f0
patch 8.2.3725: cannot use a lambda for 'completefunc' and 'omnifunc'
...
Problem: Cannot use a lambda for 'completefunc' and 'omnifunc'.
Solution: Implement lambda support. (Yegappan Lakshmanan, closes #9257 )
2021-12-03 11:09:29 +00:00
Yegappan Lakshmanan
05e59e3a9f
patch 8.2.3712: cannot use Vim9 lambda for 'tagfunc'
...
Problem: Cannot use Vim9 lambda for 'tagfunc'.
Solution: Make it work, add more tests. (Yegappan Lakshmanan, closes #9250 )
2021-12-01 10:30:07 +00:00
Bram Moolenaar
3d2e031d4f
patch 8.2.3710: Vim9: backtick expression expanded for :global
...
Problem: Vim9: backtick expression expanded for :global.
Solution: Check the following command.
2021-12-01 09:27:20 +00:00
Bram Moolenaar
ab36e6ae7b
patch 8.2.3704: Vim9: cannot use a list declaration in a :def function
...
Problem: Vim9: cannot use a list declaration in a :def function.
Solution: Make it work.
2021-11-30 16:14:49 +00:00
Bram Moolenaar
651fca85c7
patch 8.2.3699: the +title feature adds a lot of #ifdef but little code
...
Problem: The +title feature adds a lot of #ifdef but little code.
Solution: Graduate the +title feature.
2021-11-29 20:39:38 +00:00
Bram Moolenaar
0b74d00693
patch 8.2.3697: cannot drag a popup without a border
...
Problem: Cannot drag a popup without a border.
Solution: Add the "dragall" option. (closes #9218 )
2021-11-29 17:38:02 +00:00
Bram Moolenaar
3d14c0f2b9
patch 8.2.3686: filetype detection often mixes up Forth and F#
...
Problem: Filetype detection often mixes up Forth and F#.
Solution: Add a function to inspect the file contents. (Doug Kearns)
2021-11-27 17:22:07 +00:00
Bram Moolenaar
6304be625c
Update runtime files.
2021-11-27 10:57:26 +00:00
Yegappan Lakshmanan
19916a8c89
patch 8.2.3665: cannot use a lambda for 'tagfunc'
...
Problem: Cannot use a lambda for 'tagfunc'.
Solution: Use 'tagfunc' like 'opfunc'. (Yegappan Lakshmanan, closes #9204 )
2021-11-24 16:32:55 +00:00
Bram Moolenaar
e413ea04b7
patch 8.2.3664: cannot adjust sign highlighting for 'cursorline'
...
Problem: Cannot adjust sign highlighting for 'cursorline'.
Solution: Add CursorLineSign and CursorLineFold highlight groups.
(Gregory Anders, closes #9201 )
2021-11-24 16:20:13 +00:00
Yegappan Lakshmanan
e021662f39
patch 8.2.3652: can only get text properties one line at a time
...
Problem: Can only get text properties one line at a time.
Solution: Add options to prop_list() to use a range of lines and filter by
types. (Yegappan Lakshmanan, closes #9138 )
2021-11-23 11:46:32 +00:00
Bram Moolenaar
88a4205f1c
Update runtime files
2021-11-21 21:13:36 +00:00
Bram Moolenaar
cdf5fdb294
patch 8.2.3627: difficult to know where the text starts in a window
...
Problem: difficult to know where the text starts in a window. (Sergey
Vlasov)
Solution: Add the "textoff" entry in the result of getwininfo().
(closes #9163 )
2021-11-20 11:14:24 +00:00
Christian Brabandt
8b8d829faf
patch 8.2.3623: "$*" is expanded to "nonomatch"
...
Problem: "$*" is expanded to "nonomatch".
Solution: Only add "set nonomatch" when using a csh-like shell. (Christian
Brabandt, closes #9159 , closes #9153 )
2021-11-19 12:37:36 +00:00
Yegappan Lakshmanan
777175b0df
patch 8.2.3619: cannot use a lambda for 'operatorfunc'
...
Problem: Cannot use a lambda for 'operatorfunc'.
Solution: Support using a lambda or partial. (Yegappan Lakshmanan,
closes #8775 )
2021-11-18 22:08:57 +00:00
Bram Moolenaar
851c7a699a
patch 8.2.3618: getcwd() is unclear about how 'autochdir' is used
...
Problem: getcwd() is unclear about how 'autochdir' is used.
Solution: Update the help for getcwd(). Without any arguments always return
the actual current directory. (closes #9142 )
2021-11-18 20:47:31 +00:00
Bram Moolenaar
519cc559b0
Update runtime files
2021-11-16 19:18:26 +00:00
Yegappan Lakshmanan
2a16dc6613
patch 8.2.3605: cannot clear and unlinke a highlight group with hlset()
...
Problem: Cannot clear and unlinke a highlight group with hlset() in a
single call.
Solution: Add the "force" option. (Yegappan Lakshmanan, closes #9117 )
2021-11-16 17:19:30 +00:00
Bram Moolenaar
36968af155
patch 8.2.3597: Vim seems to hang when writing a long text to a terminal
...
Problem: Vim seems to hang when writing a very long text to a terminal
window.
Solution: Limit the amount of text based on 'termwinscroll'. (issue #9080 )
2021-11-15 17:13:11 +00:00
naohiro ono
23beefed73
patch 8.2.3591: no event is triggered when closing a window
...
Problem: No event is triggered when closing a window.
Solution: Add the WinClosed event. (Naohiro Ono, closes #9110 )
2021-11-13 12:38:49 +00:00
Drew Vogel
a0fca17251
patch 8.2.3590: test for v:colornames sometimes fails
...
Problem: Test for v:colornames sometimes fails. (Dominique Pellé)
Solution: Check features. Clear v:colornames between tests. (Drew Vogel,
closes #9105 , closes #9073 )
2021-11-13 10:50:01 +00:00
Bram Moolenaar
5300be620c
patch 8.2.3589: failure when "term_rows" of term_start() is an unusual value
...
Problem: Failure when the "term_rows" argument of term_start() is an
unusual value.
Solution: Limit to range of zero to 1000. (closes #9116 )
2021-11-13 10:27:40 +00:00
Bram Moolenaar
58ef8a31d7
patch 8.2.3584: "verbose set efm" reports location of the :compiler command
...
Problem: "verbose set efm" reports the location of the :compiler command.
(Gary Johnson)
Solution: Add the "-keepscript" argument to :command and use it when
defining CompilerSet.
2021-11-12 11:25:11 +00:00
Bram Moolenaar
113cb513f7
Update runtime files
2021-11-07 20:27:04 +00:00
Yegappan Lakshmanan
d1a8d658e1
patch 8.2.3578: manipulating highlighting is complicated
...
Problem: Manipulating highlighting is complicated.
Solution: Add the hlget() and hlset() functions. (Yegappan Lakshmanan,
closes #9039 )
2021-11-03 21:56:45 +00:00
Drew Vogel
e30d10253f
patch 8.2.3562: cannot add color names
...
Problem: Cannot add color names.
Solution: Add the v:colornames dictionary. (Drew Vogel, closes #8761 )
2021-10-24 20:35:07 +01:00
Bram Moolenaar
079ba76ae7
Update runtime files
2021-10-23 12:08:41 +01:00
=?UTF-8?q?Magnus=20Gro=C3=9F?=
25def2c8b8
patch 8.2.3555: ModeChanged is not triggered on every mode change
...
Problem: ModeChanged is not triggered on every mode change.
Solution: Also trigger on minor mode changes. (Maguns Gross, closes #8999 )
2021-10-22 18:56:39 +01:00
zeertzjq
94358a1e6e
patch 8.2.3545: setcellwidths() may make 'listchars' or 'fillchars' invalid
...
Problem: setcellwidths() may make 'listchars' or 'fillchars' invalid.
Solution: Check the value and give an error. (closes #9024 )
2021-10-20 11:01:15 +01:00