summaryrefslogtreecommitdiffstats
path: root/src/option.c
AgeCommit message (Collapse)Author
2021-12-17patch 8.2.3838: cannot use script-local function for setting *func optionsv8.2.3838Yegappan Lakshmanan
Problem: Cannot use script-local function for setting *func options. Solution: Use the script context. (Yegappan Lakshmanan, closes #9362)
2021-12-16patch 8.2.3829: no error when setting a func option to script-local functionv8.2.3829Bram Moolenaar
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-14patch 8.2.3804: script context not set when copying 'swf' and 'ts'v8.2.3804Bram Moolenaar
Problem: Script context not set when copying 'swf' and 'ts'. Solution: Use COPY_OPT_SCTX with the right argument. (closes #9347)
2021-12-07patch 8.2.3756: might crash when callback is not validv8.2.3756Yegappan Lakshmanan
Problem: might crash when callback is not valid. Solution: Check for valid callback. (Yegappan Lakshmanan, closes #9293)
2021-12-06patch 8.2.3751: cannot assign a lambda to an option that takes a functionv8.2.3751Yegappan Lakshmanan
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-03patch 8.2.3731: "set! termcap" shows codes in one column, but not keysv8.2.3731Bram Moolenaar
Problem: "set! termcap" shows codes in one column, but not keys. Solution: Also use one column for keys. (closes #9258)
2021-12-03patch 8.2.3725: cannot use a lambda for 'completefunc' and 'omnifunc'v8.2.3725Yegappan Lakshmanan
Problem: Cannot use a lambda for 'completefunc' and 'omnifunc'. Solution: Implement lambda support. (Yegappan Lakshmanan, closes #9257)
2021-12-01patch 8.2.3712: cannot use Vim9 lambda for 'tagfunc'v8.2.3712Yegappan Lakshmanan
Problem: Cannot use Vim9 lambda for 'tagfunc'. Solution: Make it work, add more tests. (Yegappan Lakshmanan, closes #9250)
2021-11-29patch 8.2.3699: the +title feature adds a lot of #ifdef but little codev8.2.3699Bram Moolenaar
Problem: The +title feature adds a lot of #ifdef but little code. Solution: Graduate the +title feature.
2021-11-24patch 8.2.3665: cannot use a lambda for 'tagfunc'v8.2.3665Yegappan Lakshmanan
Problem: Cannot use a lambda for 'tagfunc'. Solution: Use 'tagfunc' like 'opfunc'. (Yegappan Lakshmanan, closes #9204)
2021-11-20patch 8.2.3628: looking terminal colors is a bit slowv8.2.3628Bram Moolenaar
Problem: Looking terminal colors is a bit slow. Solution: Cache the terminal colors. (closes #9130, closes #9058)
2021-11-18patch 8.2.3619: cannot use a lambda for 'operatorfunc'v8.2.3619Yegappan Lakshmanan
Problem: Cannot use a lambda for 'operatorfunc'. Solution: Support using a lambda or partial. (Yegappan Lakshmanan, closes #8775)
2021-10-17patch 8.2.3528: 'thesaurus' and 'thesaurusfunc' do not have the same scopev8.2.3528Bram Moolenaar
Problem: 'thesaurus' and 'thesaurusfunc' do not have the same scope. Solution: Make 'thesaurusfunc' global-local.
2021-10-16patch 8.2.3525: option variable name does not match option namev8.2.3525Bram Moolenaar
Problem: Option variable name does not match option name. (Christ van Willigen) Solution: Rename the variable.
2021-10-16patch 8.2.3520: cannot define a function for thesaurus completionv8.2.3520Yegappan Lakshmanan
Problem: Cannot define a function for thesaurus completion. Solution: Add 'thesaurusfunc'. (Yegappan Lakshmanan, closes #8987, closes 8950)
2021-10-09patch 8.2.3490: superfluous return statementsv8.2.3490=?UTF-8?q?Dundar=20G=C3=B6c?=
Problem: Superfluous return statements. Solution: Remove superfluous return statements from void functions. (closes #8977)
2021-09-04patch 8.2.3402: invalid memory access when using :retab with large valuev8.2.3402Bram Moolenaar
Problem: Invalid memory access when using :retab with large value. Solution: Check the number is positive.
2021-08-03patch 8.2.3280: 'virtualedit' local to buffer is not the best solutionv8.2.3280Gary Johnson
Problem: 'virtualedit' local to buffer is not the best solution. Solution: Make it window-local. (Gary Johnson, closes #8685)
2021-07-29patch 8.2.3246: memory use after freev8.2.3246Bram Moolenaar
Problem: Memory use after free. Solution: When clearing a string option set the pointer to "empty_option".
2021-07-26patch 8.2.3227: 'virtualedit' can only be set globallyv8.2.3227Gary Johnson
Problem: 'virtualedit' can only be set globally. Solution: Make 'virtualedit' global-local. (Gary Johnson, closes #8638)
2021-07-21patch 8.2.3197: error messages are spread outv8.2.3197Bram Moolenaar
Problem: Error messages are spread out. Solution: Move a few more error messages to errors.h.
2021-07-08patch 8.2.3124: Vim9: no error for white space between option and "=9"v8.2.3124Bram Moolenaar
Problem: Vim9: no error for white space between option and "=9". Solution: Check for extraneous white space. (issue #8408)
2021-07-08patch 8.2.3123: Vim9: confusing error when using white space after optionv8.2.3123Bram Moolenaar
Problem: Vim9: confusing error when using white space after option, before one of "!&<". Solution: Give a specific error. (issue #8408)
2021-06-30patch 8.2.3079: Powershell core not supported by defaultv8.2.3079Mike Williams
Problem: Powershell core not supported by default. Solution: Set option defaults for "pwsh". (Mike Williams, closes #8481)
2021-06-28patch 8.2.3071: shell options are not set properly for PowerShellv8.2.3071Mike Williams
Problem: Shell options are not set properly for PowerShell. Solution: Use better option defaults. (Mike Willams, closes #8459)
2021-06-20patch 8.2.3022: available encryption methods are not strong enoughv8.2.3022Christian Brabandt
Problem: Available encryption methods are not strong enough. Solution: Add initial support for xchaha20. (Christian Brabandt, closes #8394)
2021-06-20patch 8.2.3021: spaces allowed between option name and "!", "?", etc.v8.2.3021Bram Moolenaar
Problem: Spaces allowed between option name and "!", "?", etc. Solution: Disallow spaces in Vim9 script, it was not documented. (closes #8408)
2021-06-13patch 8.2.2993: 'fileencodings' default value should depend on 'encoding'v8.2.2993Bram Moolenaar
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-02patch 8.2.2922: computing array length is done in various waysv8.2.2922K.Takata
Problem: Computing array length is done in various ways. Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305)
2021-05-30patch 8.2.2912: MS-Windows: most users expect using Unicodev8.2.2912K.Takata
Problem: MS-Windows: most users expect using Unicode. Solution: Default 'encoding' to utf-8 on MS-Windows. (Ken Takata, closes #3907)
2021-05-06patch 8.2.2839: default redirection missing "ash" and "dash"v8.2.2839Natanael Copa
Problem: Default redirection missing "ash" and "dash". Solution: Recognize "ash" and "dash". (Natanael Copa, closes #8180)
2021-04-17patch 8.2.2778: problem restoring 'packpath' in sessionv8.2.2778Bram Moolenaar
Problem: Problem restoring 'packpath' in session. Solution: Let "skiprtp" also apply to 'packpath'.
2021-04-16patch 8.2.2772: problems when restoring 'runtimepath' from a session filev8.2.2772Bram Moolenaar
Problem: Problems when restoring 'runtimepath' from a session file. Solution: Add the "skiprtp" item in 'sessionoptions'.
2021-03-10patch 8.2.2581: Vim9: sourcing Vim9 script triggers a redrawv8.2.2581Bram Moolenaar
Problem: Vim9: sourcing Vim9 script triggers a redraw. Solution: Do not let setting/restoring 'cpoptions' cause a redraw. (closes #7920)
2021-02-15patch 8.2.2518: 'listchars' should be window-localv8.2.2518Bram Moolenaar
Problem: 'listchars' should be window-local. Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz, closes #5206, closes #7850)
2021-02-02patch 8.2.2452: no completion for the 'filetype' optionv8.2.2452Bram Moolenaar
Problem: No completion for the 'filetype' option. Solution: Add filetype completion. (Martin Tournoij, closes #7747)
2021-01-04patch 8.2.2295: incsearch does not detect empty pattern properlyv8.2.2295Bram Moolenaar
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-02patch 8.2.2276: list of distributed files is outdatedv8.2.2276Bram Moolenaar
Problem: List of distributed files is outdated. Solution: Update the file list. Minor comment updates.
2020-12-31patch 8.2.2254: Vim9: bool option type is numberv8.2.2254Bram Moolenaar
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-21patch 8.2.2182: Vim9: value of 'magic' is still relevantv8.2.2182Bram Moolenaar
Problem: Vim9: value of 'magic' is still relevant. Solution: Always behave like 'magic' is on in Vim9 script (closes #7509)
2020-10-24patch 8.2.1898: command modifier parsing always uses global cmdmodv8.2.1898Bram Moolenaar
Problem: Command modifier parsing always uses global cmdmod. Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
2020-09-12patch 8.2.1670: a couple of gcc compiler warningsv8.2.1670Bram Moolenaar
Problem: A couple of gcc compiler warnings. Solution: Initialize local variables. (Dominique Pellé, closes #6944)
2020-09-12patch 8.2.1666: the initial value of 'backupskip' can have duplicate itemsv8.2.1666Bram Moolenaar
Problem: The initial value of 'backupskip' can have duplicate items. Solution: Remove duplicates, like when it is set later. (Tom Ryder, closes #6940)
2020-08-07patch 8.2.1386: backslash not removed afer space with space in 'isfname'v8.2.1386Bram Moolenaar
Problem: Backslash not removed afer space in option with space in 'isfname'. Solution: Do remove backslash before space, also when it is in 'isfname'. (Yasuhiro Matsumoto, closes #6651)
2020-06-10patch 8.2.0953: spell checking doesn't work for CamelCased wordsv8.2.0953Bram Moolenaar
Problem: Spell checking doesn't work for CamelCased words. Solution: Add the "camel" value in the new option 'spelloptions'. (closes #1235)
2020-05-30patch 8.2.0855: GUI tests fail because the test doesn't use a modifierv8.2.0855Bram Moolenaar
Problem: GUI tests fail because the test doesn't use a modifier. Solution: Add "\{xxx}" to be able to encode a modifier.
2020-05-03patch 8.2.0690: line number of option set by modeline is wrongv8.2.0690Bram Moolenaar
Problem: Line number of option set by modeline is wrong. Solution: Do not double the line number. (Ozaki Kiichi, closes #6035)
2020-05-01patch 8.2.0674: some source files are too bigv8.2.0674Bram Moolenaar
Problem: Some source files are too big. Solution: Move text formatting functions to a new file. (Yegappan Lakshmanan, closes #6021)
2020-04-17patch 8.2.0590: no 'backspace' value allows ignoring the insertion pointv8.2.0590Bram Moolenaar
Problem: No 'backspace' value allows ignoring the insertion point. Solution: Add the "nostop" and 3 values. (Christian Brabandt, closes #5940)
2020-04-12patch 8.2.0559: clearing a struct is verbosev8.2.0559Bram Moolenaar
Problem: Clearing a struct is verbose. Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().