summaryrefslogtreecommitdiff
path: root/src/option.c
Commit message (Collapse)AuthorAgeFilesLines
...
* patch 8.2.2912: MS-Windows: most users expect using Unicodev8.2.2912K.Takata2021-05-301-1/+8
| | | | | | Problem: MS-Windows: most users expect using Unicode. Solution: Default 'encoding' to utf-8 on MS-Windows. (Ken Takata, closes #3907)
* patch 8.2.2839: default redirection missing "ash" and "dash"v8.2.2839Natanael Copa2021-05-061-1/+4
| | | | | Problem: Default redirection missing "ash" and "dash". Solution: Recognize "ash" and "dash". (Natanael Copa, closes #8180)
* patch 8.2.2778: problem restoring 'packpath' in sessionv8.2.2778Bram Moolenaar2021-04-171-1/+2
| | | | | Problem: Problem restoring 'packpath' in session. Solution: Let "skiprtp" also apply to 'packpath'.
* patch 8.2.2772: problems when restoring 'runtimepath' from a session filev8.2.2772Bram Moolenaar2021-04-161-0/+3
| | | | | Problem: Problems when restoring 'runtimepath' from a session file. Solution: Add the "skiprtp" item in 'sessionoptions'.
* patch 8.2.2581: Vim9: sourcing Vim9 script triggers a redrawv8.2.2581Bram Moolenaar2021-03-101-4/+7
| | | | | | Problem: Vim9: sourcing Vim9 script triggers a redraw. Solution: Do not let setting/restoring 'cpoptions' cause a redraw. (closes #7920)
* patch 8.2.2518: 'listchars' should be window-localv8.2.2518Bram Moolenaar2021-02-151-2/+17
| | | | | | Problem: 'listchars' should be window-local. Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz, closes #5206, closes #7850)
* patch 8.2.2452: no completion for the 'filetype' optionv8.2.2452Bram Moolenaar2021-02-021-0/+6
| | | | | Problem: No completion for the 'filetype' option. Solution: Add filetype completion. (Martin Tournoij, closes #7747)
* patch 8.2.2295: incsearch does not detect empty pattern properlyv8.2.2295Bram Moolenaar2021-01-041-3/+3
| | | | | | Problem: Incsearch does not detect empty pattern properly. Solution: Return magic state when skipping over a pattern. (Christian Brabandt, closes #7612, closes #6420)
* patch 8.2.2276: list of distributed files is outdatedv8.2.2276Bram Moolenaar2021-01-021-1/+1
| | | | | Problem: List of distributed files is outdated. Solution: Update the file list. Minor comment updates.
* patch 8.2.2254: Vim9: bool option type is numberv8.2.2254Bram Moolenaar2020-12-311-14/+18
| | | | | | Problem: Vim9: bool option type is number. Solution: Have get_option_value() return a different value for bool and number options. (closes #7583)
* patch 8.2.2182: Vim9: value of 'magic' is still relevantv8.2.2182Bram Moolenaar2020-12-211-0/+19
| | | | | Problem: Vim9: value of 'magic' is still relevant. Solution: Always behave like 'magic' is on in Vim9 script (closes #7509)
* patch 8.2.1898: command modifier parsing always uses global cmdmodv8.2.1898Bram Moolenaar2020-10-241-2/+2
| | | | | Problem: Command modifier parsing always uses global cmdmod. Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
* patch 8.2.1670: a couple of gcc compiler warningsv8.2.1670Bram Moolenaar2020-09-121-1/+1
| | | | | Problem: A couple of gcc compiler warnings. Solution: Initialize local variables. (Dominique Pellé, closes #6944)
* patch 8.2.1666: the initial value of 'backupskip' can have duplicate itemsv8.2.1666Bram Moolenaar2020-09-121-31/+60
| | | | | | Problem: The initial value of 'backupskip' can have duplicate items. Solution: Remove duplicates, like when it is set later. (Tom Ryder, closes #6940)
* patch 8.2.1386: backslash not removed afer space with space in 'isfname'v8.2.1386Bram Moolenaar2020-08-071-3/+4
| | | | | | | 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)
* patch 8.2.0953: spell checking doesn't work for CamelCased wordsv8.2.0953Bram Moolenaar2020-06-101-0/+3
| | | | | | Problem: Spell checking doesn't work for CamelCased words. Solution: Add the "camel" value in the new option 'spelloptions'. (closes #1235)
* patch 8.2.0855: GUI tests fail because the test doesn't use a modifierv8.2.0855Bram Moolenaar2020-05-301-1/+2
| | | | | Problem: GUI tests fail because the test doesn't use a modifier. Solution: Add "\{xxx}" to be able to encode a modifier.
* patch 8.2.0690: line number of option set by modeline is wrongv8.2.0690Bram Moolenaar2020-05-031-1/+3
| | | | | Problem: Line number of option set by modeline is wrong. Solution: Do not double the line number. (Ozaki Kiichi, closes #6035)
* patch 8.2.0674: some source files are too bigv8.2.0674Bram Moolenaar2020-05-011-12/+0
| | | | | | Problem: Some source files are too big. Solution: Move text formatting functions to a new file. (Yegappan Lakshmanan, closes #6021)
* patch 8.2.0590: no 'backspace' value allows ignoring the insertion pointv8.2.0590Bram Moolenaar2020-04-171-2/+7
| | | | | Problem: No 'backspace' value allows ignoring the insertion point. Solution: Add the "nostop" and 3 values. (Christian Brabandt, closes #5940)
* patch 8.2.0559: clearing a struct is verbosev8.2.0559Bram Moolenaar2020-04-121-2/+2
| | | | | Problem: Clearing a struct is verbose. Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
* patch 8.2.0260: several lines of code are duplicatedv8.2.0260Bram Moolenaar2020-02-151-75/+61
| | | | | | Problem: Several lines of code are duplicated. Solution: Move duplicated code to a function. (Yegappan Lakshmanan, closes #5330)
* patch 8.2.0156: various typos in source files and testsv8.2.0156Bram Moolenaar2020-01-261-1/+1
| | | | | Problem: Various typos in source files and tests. Solution: Fix the typos. (Emir Sari, closes #5532)
* patch 8.2.0128: cannot list options one per linev8.2.0128Bram Moolenaar2020-01-181-5/+29
| | | | | Problem: Cannot list options one per line. Solution: Use ":set!" to list one option per line.
* patch 8.2.0056: execution stack is incomplete and inefficientv8.2.0056Bram Moolenaar2019-12-291-1/+1
| | | | | | Problem: Execution stack is incomplete and inefficient. Solution: Introduce a proper execution stack and use it instead of sourcing_name/sourcing_lnum. Create a string only when used.
* patch 8.1.2392: using old C style commentsv8.1.2392Bram Moolenaar2019-12-051-482/+479
| | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate.
* patch 8.1.2331: the option.c file is still very bigv8.1.2331Bram Moolenaar2019-11-211-423/+0
| | | | | | Problem: The option.c file is still very big. Solution: Move a few functions to where they fit better. (Yegappan Lakshmanan, closes #4895)
* patch 8.1.2295: if buffer of popup is in another window cursorline sign showsv8.1.2295Bram Moolenaar2019-11-121-25/+0
| | | | | Problem: If buffer of popup is in another window cursorline sign shows. Solution: Check the group of the sign.
* patch 8.1.2281: 'showbreak' cannot be set for one windowv8.1.2281Bram Moolenaar2019-11-091-0/+36
| | | | | Problem: 'showbreak' cannot be set for one window. Solution: Make 'showbreak' global-local.
* patch 8.1.2243: typos in commentsv8.1.2243Bram Moolenaar2019-11-021-1/+1
| | | | | | Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust formatting a bit.
* patch 8.1.2225: the "last used" info of a buffer is under usedv8.1.2225Bram Moolenaar2019-10-271-0/+2
| | | | | | Problem: The "last used" info of a buffer is under used. Solution: Add "lastused" to getbufinfo(). List buffers sorted by last-used field. (Andi Massimino, closes #4722)
* patch 8.1.2186: error for bad regexp even though regexp is not usedv8.1.2186Bram Moolenaar2019-10-191-1/+1
| | | | | | Problem: Error for bad regexp even though regexp is not used, when writing a file. (Arseny Nasokin) Solution: Ignore regexp errors. (closes #5059)
* patch 8.1.2184: option context is not copied when splitting a windowv8.1.2184Bram Moolenaar2019-10-191-7/+99
| | | | | | | Problem: Option context is not copied when splitting a window. (Daniel Hahler) Solution: Copy the option context, so that ":verbose set" works. (closes #5066)
* patch 8.1.2171: mouse support not always availablev8.1.2171Bram Moolenaar2019-10-171-3/+1
| | | | | | Problem: Mouse support not always available. Solution: Enable mouse support also in tiny version. Do not define FEAT_MOUSE_XTERM on MS-Windows (didn't really work).
* patch 8.1.2145: cannot map <C-H> when modifyOtherKeys is enabledv8.1.2145Bram Moolenaar2019-10-131-1/+1
| | | | | | Problem: Cannot map <C-H> when modifyOtherKeys is enabled. Solution: Add the <C-H> mapping twice, both with modifier and as 0x08. Use only the first one when modifyOtherKeys has been detected.
* patch 8.1.2116: no check for out of memoryv8.1.2116Bram Moolenaar2019-10-051-3/+6
| | | | | Problem: No check for out of memory. Solution: Check for NULL pointer.
* patch 8.1.2115: MS-Windows: shell commands fail if &shell contains a spacev8.1.2115Bram Moolenaar2019-10-051-0/+19
| | | | | Problem: MS-Windows: shell commands fail if &shell contains a space. Solution: Use quotes instead of escaping. (closes #4920)
* patch 8.1.2107: various memory leaks reported by asanv8.1.2107Bram Moolenaar2019-10-011-1/+1
| | | | | Problem: Various memory leaks reported by asan. Solution: Free the memory. (Ozaki Kiichi, closes #5003)
* patch 8.1.2096: too many #ifdefsv8.1.2096Bram Moolenaar2019-09-281-4/+0
| | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_COMMENTS.
* patch 8.1.2094: the fileio.c file is too bigv8.1.2094Bram Moolenaar2019-09-281-1/+3
| | | | | | Problem: The fileio.c file is too big. Solution: Move buf_write() to bufwrite.c. (Yegappan Lakshmanan, closes #4990)
* patch 8.1.2073: when editing a buffer 'colorcolumn' may not workv8.1.2073Bram Moolenaar2019-09-251-10/+15
| | | | | | Problem: When editing a buffer 'colorcolumn' may not work. Solution: Set the buffer before copying option values. Call check_colorcolumn() after copying window options.
* patch 8.1.2045: the option.c file is too bigv8.1.2045Bram Moolenaar2019-09-161-2459/+140
| | | | | | Problem: The option.c file is too big. Solution: Split off the code dealing with strings. (Yegappan Lakshmanan, closes #4937)
* patch 8.1.2029: cannot control 'cursorline' highlighting wellv8.1.2029Bram Moolenaar2019-09-141-3/+62
| | | | | Problem: Cannot control 'cursorline' highlighting well. Solution: Add "screenline". (Christian Brabandt, closes #4933)
* patch 8.1.2022: the option.c file is too bigv8.1.2022Bram Moolenaar2019-09-121-3206/+1
| | | | | | Problem: The option.c file is too big. Solution: Move option definitions to a separate file. (Yegappan Lakshmanan, closes #4918)
* patch 8.1.2019: 'cursorline' always highlights the whole linev8.1.2019Bram Moolenaar2019-09-091-0/+24
| | | | | | Problem: 'cursorline' always highlights the whole line. Solution: Add 'cursorlineopt' to specify what is highlighted. (closes #4693)
* patch 8.1.1966: some code in options.c fits better elsewherev8.1.1966Bram Moolenaar2019-09-021-909/+1
| | | | | | Problem: Some code in options.c fits better elsewhere. Solution: Move functions from options.c to other files. (Yegappan Lakshmanan, closes #4889)
* patch 8.1.1919: using window options when passing a buffer to popup_create()v8.1.1919Bram Moolenaar2019-08-241-1/+3
| | | | | | Problem: Using current window option values when passing a buffer to popup_create(). Solution: Clear the window-local options. (closes #4857)
* patch 8.1.1913: not easy to compute the space on the command linev8.1.1913Bram Moolenaar2019-08-231-0/+3
| | | | | Problem: Not easy to compute the space on the command line. Solution: Add v:echospace. (Daniel Hahler, closes #4732)
* patch 8.1.1910: redrawing too much when toggling 'relativenumber'v8.1.1910Bram Moolenaar2019-08-221-2/+20
| | | | | | Problem: Redrawing too much when toggling 'relativenumber'. Solution: Only clear when 'signcolumn' is set to "number". (Yegappan Lakshmanan, closes #4852)
* patch 8.1.1901: the +insert_expand feature is not always availablev8.1.1901Bram Moolenaar2019-08-211-59/+9
| | | | | Problem: The +insert_expand feature is not always available. Solution: Graduate the +insert_expand feature.