Bram Moolenaar
1d423ef75f
patch 8.2.3987: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-02 21:26:16 +00:00
Bram Moolenaar
ac78dd4a35
patch 8.2.3985: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-02 19:25:26 +00:00
Bram Moolenaar
74409f6279
patch 8.2.3970: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2022-01-01 15:58:22 +00:00
Bram Moolenaar
460ae5dfca
patch 8.2.3967: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2022-01-01 14:19:49 +00:00
Bram Moolenaar
436b5adc97
patch 8.2.3961: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2021-12-31 22:49:24 +00:00
Bram Moolenaar
10c75c4a09
patch 8.2.3929: using unititialized variable
...
Problem: Using unititialized variable.
Solution: Set the option flags to zero for a terminal option.
2021-12-28 20:53:30 +00:00
Dominique Pelle
af4a61a85d
patch 8.2.3914: various spelling mistakes in comments
...
Problem: Various spelling mistakes in comments.
Solution: Fix the mistakes. (Dominique Pellé, closes #9416 )
2021-12-27 17:21:41 +00:00
Yegappan Lakshmanan
e7f4abd38b
patch 8.2.3889: duplicate code for translating script-local function name
...
Problem: Duplicate code for translating script-local function name.
Solution: Move the code to get_scriptlocal_funcname(). (Yegappan Lakshmanan,
closes #9393 )
2021-12-24 20:47:38 +00:00
Yegappan Lakshmanan
db1a410b61
patch 8.2.3838: cannot use script-local function for setting *func options
...
Problem: Cannot use script-local function for setting *func options.
Solution: Use the script context. (Yegappan Lakshmanan, closes #9362 )
2021-12-17 16:21:20 +00:00
Bram Moolenaar
94c785d235
patch 8.2.3829: no error when setting a func option to script-local function
...
Problem: No error when setting a func option to a script-local function.
Solution: Give an error if the name starts with "s:". (closes #9358 )
2021-12-16 19:45:47 +00:00
Bram Moolenaar
6206877c51
patch 8.2.3804: script context not set when copying 'swf' and 'ts'
...
Problem: Script context not set when copying 'swf' and 'ts'.
Solution: Use COPY_OPT_SCTX with the right argument. (closes #9347 )
2021-12-14 09:01:38 +00:00
Yegappan Lakshmanan
4dc24eb5ad
patch 8.2.3756: might crash when callback is not valid
...
Problem: might crash when callback is not valid.
Solution: Check for valid callback. (Yegappan Lakshmanan, closes #9293 )
2021-12-07 12:23:57 +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
15a24f0898
patch 8.2.3731: "set! termcap" shows codes in one column, but not keys
...
Problem: "set! termcap" shows codes in one column, but not keys.
Solution: Also use one column for keys. (closes #9258 )
2021-12-03 20:43:24 +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
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
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
87fd0924e2
patch 8.2.3628: looking terminal colors is a bit slow
...
Problem: Looking terminal colors is a bit slow.
Solution: Cache the terminal colors. (closes #9130 , closes #9058 )
2021-11-20 13:47:45 +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
f4d8b76d30
patch 8.2.3528: 'thesaurus' and 'thesaurusfunc' do not have the same scope
...
Problem: 'thesaurus' and 'thesaurusfunc' do not have the same scope.
Solution: Make 'thesaurusfunc' global-local.
2021-10-17 14:13:09 +01:00
Bram Moolenaar
d4c4bfa007
patch 8.2.3525: option variable name does not match option name
...
Problem: Option variable name does not match option name. (Christ van
Willigen)
Solution: Rename the variable.
2021-10-16 21:14:11 +01:00
Yegappan Lakshmanan
160e994d76
patch 8.2.3520: cannot define a function for thesaurus completion
...
Problem: Cannot define a function for thesaurus completion.
Solution: Add 'thesaurusfunc'. (Yegappan Lakshmanan, closes #8987 ,
closes 8950)
2021-10-16 15:41:29 +01:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
3826c0513b
patch 8.2.3490: superfluous return statements
...
Problem: Superfluous return statements.
Solution: Remove superfluous return statements from void functions.
(closes #8977 )
2021-10-09 15:39:25 +01:00
Bram Moolenaar
b7081e135a
patch 8.2.3402: invalid memory access when using :retab with large value
...
Problem: Invalid memory access when using :retab with large value.
Solution: Check the number is positive.
2021-09-04 18:47:28 +02:00
Gary Johnson
51ad850f5f
patch 8.2.3280: 'virtualedit' local to buffer is not the best solution
...
Problem: 'virtualedit' local to buffer is not the best solution.
Solution: Make it window-local. (Gary Johnson, closes #8685 )
2021-08-03 18:33:08 +02:00
Bram Moolenaar
77111e2bfc
patch 8.2.3246: memory use after free
...
Problem: Memory use after free.
Solution: When clearing a string option set the pointer to "empty_option".
2021-07-29 21:11:30 +02:00
Gary Johnson
53ba05b090
patch 8.2.3227: 'virtualedit' can only be set globally
...
Problem: 'virtualedit' can only be set globally.
Solution: Make 'virtualedit' global-local. (Gary Johnson, closes #8638 )
2021-07-26 22:19:10 +02:00
Bram Moolenaar
d8e44476d8
patch 8.2.3197: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move a few more error messages to errors.h.
2021-07-21 22:20:33 +02:00
Bram Moolenaar
deb108ba0a
patch 8.2.3124: Vim9: no error for white space between option and "=9"
...
Problem: Vim9: no error for white space between option and "=9".
Solution: Check for extraneous white space. (issue #8408 )
2021-07-08 17:35:36 +02:00
Bram Moolenaar
1594f31345
patch 8.2.3123: Vim9: confusing error when using white space after option
...
Problem: Vim9: confusing error when using white space after option, before
one of "!&<".
Solution: Give a specific error. (issue #8408 )
2021-07-08 16:40:13 +02:00
Mike Williams
a3d1b29bd3
patch 8.2.3079: Powershell core not supported by default
...
Problem: Powershell core not supported by default.
Solution: Set option defaults for "pwsh". (Mike Williams, closes #8481 )
2021-06-30 20:56:00 +02:00
Mike Williams
127950241e
patch 8.2.3071: shell options are not set properly for PowerShell
...
Problem: Shell options are not set properly for PowerShell.
Solution: Use better option defaults. (Mike Willams, closes #8459 )
2021-06-28 20:53:58 +02:00
Christian Brabandt
f573c6e1ed
patch 8.2.3022: available encryption methods are not strong enough
...
Problem: Available encryption methods are not strong enough.
Solution: Add initial support for xchaha20. (Christian Brabandt,
closes #8394 )
2021-06-20 14:02:16 +02:00
Bram Moolenaar
208f0b48b2
patch 8.2.3021: spaces allowed between option name and "!", "?", etc.
...
Problem: Spaces allowed between option name and "!", "?", etc.
Solution: Disallow spaces in Vim9 script, it was not documented.
(closes #8408 )
2021-06-20 12:40:08 +02:00
Bram Moolenaar
5ffefbb35a
patch 8.2.2993: 'fileencodings' default value should depend on 'encoding'
...
Problem: 'fileencodings' default value should depend on 'encoding'. (Gary
Johnson)
Solution: When 'encoding' is "utf-8" use a different default value for
'fileencodings'.
2021-06-13 20:27:36 +02:00
K.Takata
eeec254878
patch 8.2.2922: computing array length is done in various ways
...
Problem: Computing array length is done in various ways.
Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305 )
2021-06-02 13:28:16 +02:00
K.Takata
f883d9027c
patch 8.2.2912: MS-Windows: most users expect using Unicode
...
Problem: MS-Windows: most users expect using Unicode.
Solution: Default 'encoding' to utf-8 on MS-Windows. (Ken Takata,
closes #3907 )
2021-05-30 18:04:19 +02:00
Natanael Copa
5631836975
patch 8.2.2839: default redirection missing "ash" and "dash"
...
Problem: Default redirection missing "ash" and "dash".
Solution: Recognize "ash" and "dash". (Natanael Copa, closes #8180 )
2021-05-06 18:46:35 +02:00
Bram Moolenaar
d23b714d8b
patch 8.2.2778: problem restoring 'packpath' in session
...
Problem: Problem restoring 'packpath' in session.
Solution: Let "skiprtp" also apply to 'packpath'.
2021-04-17 21:04:34 +02:00
Bram Moolenaar
635bd60804
patch 8.2.2772: problems when restoring 'runtimepath' from a session file
...
Problem: Problems when restoring 'runtimepath' from a session file.
Solution: Add the "skiprtp" item in 'sessionoptions'.
2021-04-16 19:58:22 +02:00
Bram Moolenaar
37294bd6a2
patch 8.2.2581: Vim9: sourcing Vim9 script triggers a redraw
...
Problem: Vim9: sourcing Vim9 script triggers a redraw.
Solution: Do not let setting/restoring 'cpoptions' cause a redraw.
(closes #7920 )
2021-03-10 13:40:08 +01:00
Bram Moolenaar
eed9d46293
patch 8.2.2518: 'listchars' should be window-local
...
Problem: 'listchars' should be window-local.
Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz,
closes #5206 , closes #7850 )
2021-02-15 20:38:25 +01:00
Bram Moolenaar
d5e8c92816
patch 8.2.2452: no completion for the 'filetype' option
...
Problem: No completion for the 'filetype' option.
Solution: Add filetype completion. (Martin Tournoij, closes #7747 )
2021-02-02 21:10:01 +01:00
Bram Moolenaar
d93a7fc1a9
patch 8.2.2295: incsearch does not detect empty pattern properly
...
Problem: Incsearch does not detect empty pattern properly.
Solution: Return magic state when skipping over a pattern. (Christian
Brabandt, closes #7612 , closes #6420 )
2021-01-04 12:42:13 +01:00
Bram Moolenaar
a72514945b
patch 8.2.2276: list of distributed files is outdated
...
Problem: List of distributed files is outdated.
Solution: Update the file list. Minor comment updates.
2021-01-02 16:53:13 +01:00
Bram Moolenaar
dd1f426bd6
patch 8.2.2254: Vim9: bool option type is number
...
Problem: Vim9: bool option type is number.
Solution: Have get_option_value() return a different value for bool and
number options. (closes #7583 )
2020-12-31 17:41:01 +01:00
Bram Moolenaar
f4e2099e39
patch 8.2.2182: Vim9: value of 'magic' is still relevant
...
Problem: Vim9: value of 'magic' is still relevant.
Solution: Always behave like 'magic' is on in Vim9 script (closes #7509 )
2020-12-21 19:59:08 +01:00
Bram Moolenaar
e100440158
patch 8.2.1898: command modifier parsing always uses global cmdmod
...
Problem: Command modifier parsing always uses global cmdmod.
Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
2020-10-24 20:49:43 +02:00
Bram Moolenaar
8f13d82fa6
patch 8.2.1670: a couple of gcc compiler warnings
...
Problem: A couple of gcc compiler warnings.
Solution: Initialize local variables. (Dominique Pellé, closes #6944 )
2020-09-12 21:04:23 +02:00