summaryrefslogtreecommitdiff
path: root/src/option.c
Commit message (Collapse)AuthorAgeFilesLines
* updated for version 7.4.538v7.4.538Bram Moolenaar2014-11-301-0/+1
| | | | | | Problem: Tests fail with small features plus Python. Solution: Disallow weird combination of options. Do not set "fdm" when folding is disabled.
* updated for version 7.4.524v7.4.524Bram Moolenaar2014-11-191-4/+5
| | | | | Problem: When using ":ownsyntax" spell checking is messed up. (Issue 78) Solution: Use the window-local option values. (Christian Brabandt)
* updated for version 7.4.502v7.4.502Bram Moolenaar2014-11-051-0/+7
| | | | | | Problem: Language mapping also applies to mapped characters. Solution: Add the 'langnoremap' option, when on 'langmap' does not apply to mapped characters. (Christian Brabandt)
* updated for version 7.4.462v7.4.462Bram Moolenaar2014-09-291-8/+14
| | | | | | | Problem: Setting the local value of 'backupcopy' empty gives an error. (Peter Mattern) Solution: When using an empty value set the flags to zero. (Hirohito Higashi)
* updated for version 7.4.456v7.4.456Bram Moolenaar2014-09-231-11/+42
| | | | | | Problem: 'backupcopy' is global, cannot write only some files in a different way. Solution: Make 'backupcopy' global-local. (Christian Brabandt)
* updated for version 7.4.438v7.4.438Bram Moolenaar2014-09-091-0/+3
| | | | | Problem: Cached values for 'cino' not reset for ":set all&". Solution: Call parse_cino(). (Yukihiro Nakadaira)
* updated for version 7.4.417v7.4.417Bram Moolenaar2014-08-241-8/+15
| | | | | | Problem: After splitting a window and setting 'breakindent' the default minimum with is not respected. Solution: Call briopt_check() when copying options to a new window.
* updated for version 7.4.403v7.4.403Bram Moolenaar2014-08-131-0/+8
| | | | | | Problem: Valgrind reports errors when running test 72. (Dominique Pelle) Solution: Reset the local 'cryptmethod' option before storing the seed. Set the seed in the memfile even when there is no block0 yet.
* updated for version 7.4.399v7.4.399Bram Moolenaar2014-08-101-5/+5
| | | | | | | | | Problem: Encryption implementation is messy. Blowfish encryption has a weakness. Solution: Refactor the encryption, store the state in an allocated struct instead of using a save/restore mechanism. Introduce the "blowfish2" method, which does not have the weakness and encrypts the whole undo file. (largely by David Leadbeater)
* updated for version 7.4.393v7.4.393Bram Moolenaar2014-08-061-0/+17
| | | | | | | | Problem: Text drawing on newer MS-Windows systems is suboptimal. Some multi-byte characters are not displayed, even though the same font in Notepad can display them. (Srinath Avadhanula) Solution: Add the 'renderoptions' option to enable Direct-X drawing. (Taro Muraoka)
* updated for version 7.4.339v7.4.339Bram Moolenaar2014-06-251-1/+2
| | | | | Problem: Local function is available globally. Solution: Add "static".
* updated for version 7.4.338v7.4.338Bram Moolenaar2014-06-251-0/+89
| | | | | | Problem: Cannot wrap lines taking indent into account. Solution: Add the 'breakindent' option. (many authors, final improvements by Christian Brabandt)
* updated for version 7.4.336v7.4.336Bram Moolenaar2014-06-251-1/+6
| | | | | Problem: Setting 'history' to a big value causes out-of-memory errors. Solution: Limit the value to 10000. (Hirohito Higashi)
* updated for version 7.4.284v7.4.284Bram Moolenaar2014-05-131-1/+1
| | | | | | Problem: Setting 'langmap' in the modeline can cause trouble. E.g. mapping ":" breaks many commands. (Jens-Wolfhard Schicke-Uffmann) Solution: Disallow setting 'langmap' from the modeline.
* updated for version 7.4.276v7.4.276Bram Moolenaar2014-05-071-33/+4
| | | | | Problem: The fish shell is not supported. Solution: Use begin/end instead of () for fish. (Andy Russell)
* updated for version 7.4.212v7.4.212Bram Moolenaar2014-03-231-20/+0
| | | | | | Problem: Now that the +visual feature is always enabled the #ifdefs for it are not useful. Solution: Remove the checks for FEAT_VISUAL.
* updated for version 7.4.201v7.4.201Bram Moolenaar2014-03-121-1/+20
| | | | | Problem: 'lispwords' is a global option. Solution: Make 'lispwords' global-local. (Sung Pae)
* updated for version 7.4.152v7.4.152Bram Moolenaar2014-01-141-2/+65
| | | | | Problem: Python: Cannot iterate over options. Solution: Add options iterator. (ZyX)
* updated for version 7.4.088v7.4.088Bram Moolenaar2013-11-121-3/+7
| | | | | | | Problem: When spell checking is enabled Asian characters are always marked as error. Solution: When 'spelllang' contains "cjk" do not mark Asian characters as error. (Ken Takata)
* updated for version 7.4.079v7.4.079Bram Moolenaar2013-11-081-1/+1
| | | | | | Problem: A script cannot detect whether 'hlsearch' highlighting is actually displayed. Solution: Add the "v:hlsearch" variable. (ZyX)
* updated for version 7.4.073v7.4.073Bram Moolenaar2013-11-061-4/+27
| | | | | Problem: Setting undolevels for one buffer changes undo in another. Solution: Make 'undolevels' a global-local option. (Christian Brabandt)
* updated for version 7.4.069v7.4.069Bram Moolenaar2013-11-051-4/+25
| | | | | | | Problem: Cannot right shift lines starting with #. Solution: Allow the right shift when 'cino' contains #N with N > 0. (Christian Brabandt) Refactor parsing 'cino', store the values in the buffer.
* updated for version 7.4a.047v7.4a.047Bram Moolenaar2013-07-281-0/+1
| | | | | Problem: Some comments are not so nice. Solution: Change the comments.
* updated for version 7.4a.005v7.4a.005Bram Moolenaar2013-07-091-0/+3
| | | | | | Problem: Scroll binding causes unexpected scroll. Solution: Store the topline after updating scroll binding. Add a test. (Lech Lorens)
* updated for version 7.3.1294v7.3.1294Bram Moolenaar2013-07-031-0/+13
| | | | | Problem: ":diffoff" resets options. Solution: Save and restore option values. (Christian Brabandt)
* updated for version 7.3.1278v7.3.1278Bram Moolenaar2013-06-301-5/+1
| | | | | | Problem: When someone sets the screen size to a huge value with "stty" Vim runs out of memory before reducing the size. Solution: Limit Rows and Columns in more places.
* updated for version 7.3.1263v7.3.1263Bram Moolenaar2013-06-291-1/+1
| | | | | Problem: Typo in short option name. Solution: Change "imse" to "imsf".
* updated for version 7.3.1248v7.3.1248Bram Moolenaar2013-06-261-0/+18
| | | | | | Problem: Still have old hacking code for Input Method. Solution: Add 'imactivatefunc' and 'imstatusfunc' as a generic solution to Input Method activation. (Yukihiro Nakadaira)
* updated for version 7.3.1208v7.3.1208Bram Moolenaar2013-06-161-1/+1
| | | | | Problem: Compiler warnings on MS-Windows. Solution: Add type cast. Move variable declaration. (Mike Williams)
* updated for version 7.3.1149v7.3.1149Bram Moolenaar2013-06-081-4/+4
| | | | | | Problem: New regexp engine: Matching plain text could be faster. Solution: Detect a plain text match and handle it specifically. Add vim_regfree().
* updated for version 7.3.1115v7.3.1115Bram Moolenaar2013-06-041-29/+0
| | | | | | | Problem: Many users don't like the cursor line number when 'relativenumber' is set. Solution: Have four combinations with 'number' and 'relativenumber'. (Christian Brabandt)
* updated for version 7.3.1004v7.3.1004Bram Moolenaar2013-05-211-11/+18
| | | | | Problem: No error when option could not be set. Solution: Report an error. (ZyX)
* updated for version 7.3.970v7.3.970Bram Moolenaar2013-05-191-0/+8
| | | | | | | Problem: Syntax highlighting can be slow. Solution: Include the NFA regexp engine. Add the 'regexpengine' option to select which one is used. (various authors, including Ken Takata, Andrei Aiordachioaie, Russ Cox, Xiaozhou Liua, Ian Young)
* updated for version 7.3.932v7.3.932Bram Moolenaar2013-05-111-1/+1
| | | | | Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) Solution: Initialize the variable.
* updated for version 7.3.929v7.3.929Bram Moolenaar2013-05-061-17/+15
| | | | | Problem: Compiler warning for unused variable. Not freeing unused string. Solution: Remove the variable. Clear the options.
* updated for version 7.3.924v7.3.924Bram Moolenaar2013-05-061-0/+219
| | | | | Problem: Python interface can't easily access options. Solution: Add vim.options, vim.window.options and vim.buffer.options. (ZyX)
* updated for version 7.3.872v7.3.872Bram Moolenaar2013-03-191-0/+9
| | | | | | | Problem: On some systems case of file names is always ignored, on others never. Solution: Add the 'fileignorecase' option to control this at runtime. Implies 'wildignorecase'.
* updated for version 7.3.861v7.3.861Bram Moolenaar2013-03-131-13/+24
| | | | | Problem: ":setlocal number" clears global value of 'relativenumber'. Solution: Do it properly. (Markus Heidelberg)
* updated for version 7.3.859v7.3.859Bram Moolenaar2013-03-131-0/+1
| | | | | | Problem: 'ambiwidth' must be set by the user. Solution: Detects East Asian ambiguous width (UAX #11) state of the terminal at the start-up time and 'ambiwidth' accordingly. (Hayaki Saito)
* updated for version 7.3.810v7.3.810Bram Moolenaar2013-02-131-4/+9
| | | | | | Problem: 'relativenumber is reset unexpectedly. (François Ingelrest) Solution: After an option was reset also reset the global value. Add a test. (Christian Brabandt)
* updated for version 7.3.771v7.3.771Bram Moolenaar2013-01-171-3/+3
| | | | | Problem: Uninitialized variable. (Yasuhiro Matsumoto) Solution: Set x2 to -1.
* updated for version 7.3.769v7.3.769Bram Moolenaar2013-01-171-7/+135
| | | | | Problem: 'matchpairs' does not work with multi-byte characters. Solution: Make it work. (Christian Brabandt)
* updated for version 7.3.745v7.3.745Bram Moolenaar2012-12-051-0/+13
| | | | | Problem: Automatically setting 'ttymouse' doesn't work. Solution: Reset the "option was set" flag when using the default.
* updated for version 7.3.703v7.3.703Bram Moolenaar2012-10-211-14/+20
| | | | | Problem: When 'undofile' is reset the hash is computed unnecessarily. Solution: Only compute the hash when the option was set. (Christian Brabandt)
* updated for version 7.3.693v7.3.693Bram Moolenaar2012-10-211-5/+10
| | | | | | Problem: Can't make 'softtabstop' follow 'shiftwidth'. Solution: When 'softtabstop' is negative use the value of 'shiftwidth'. (so8res)
* updated for version 7.3.629v7.3.629Bram Moolenaar2012-08-081-1/+11
| | | | | | Problem: There is no way to make 'shiftwidth' follow 'tabstop'. Solution: When 'shiftwidth' is zero use the value of 'tabstop'. (Christian Brabandt)
* updated for version 7.3.599v7.3.599Bram Moolenaar2012-07-101-5/+13
| | | | | Problem: Missing change in one file. Solution: Patch for changed clip_autoselect().
* updated for version 7.3.577v7.3.577Bram Moolenaar2012-06-291-3/+3
| | | | | | Problem: Size of memory does not fit in 32 bit unsigned. Solution: Use Kbyte instead of byte. Call GlobalMemoryStatusEx() instead of GlobalMemoryStatus() when available.
* updated for version 7.3.487v7.3.487Bram Moolenaar2012-03-281-54/+33
| | | | | | | Problem: When setting 'timeoutlen' or 'ttimeoutlen' the column for vertical movement is reset unnecessarily. Solution: Do not set w_set_curswant for every option. Add a test for this. (Kana Natsuno) Add the P_CURSWANT flag for options.
* updated for version 7.3.479v7.3.479Bram Moolenaar2012-03-231-2/+2
| | | | | | Problem: When 'cursorline' is set the line number highlighting can't be set separately. Solution: Add "CursorLineNr". (Howard Buchholz)