aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.c
Commit message (Collapse)AuthorAge
* Merge branch 'master' of github.com:ckelsel/neovim into vim-8.0.0101ckelsel2017-10-10
|\
* | Merge branch 'master' of https://github.com/neovim/neovim into vim-8.0.0101ckelsel2017-09-27
|\| | | | | | | fix Conflicts
| * vim-patch:8.0.0333ckelsel2017-09-24
| | | | | | | | | | | | | | Problem: Illegal memory access when 'complete' ends in a backslash. Solution: Check for trailing backslash. (Dominique Pelle, closes vim/vim#1478) https://github.com/vim/vim/commit/226c53429109f24e31c17016aedfd7fbf7a9aa50
* | vim-patch:8.0.0106ckelsel2017-09-24
| | | | | | | | | | | | | | Problem: Cannot use a semicolon in 'backupext'. (Jeff) Solution: Allow for a few more characters when "secure" isn't set. https://github.com/vim/vim/commit/0945eaface83e78138fbd40f95cc590bab0e8c86
* | vim-patch:8.0.0102ckelsel2017-09-24
| | | | | | | | | | | | | | | | Problem: Cannot set 'dictionary' to a path. Solution: Allow for slash and backslash. Add a test (partly by Daisuke Suzuki, closes vim/vim#1279, closes vim/vim#1284) https://github.com/vim/vim/commit/7554da4033498c4da0af3cde542c3e87e9097b73
* | vim-patch:8.0.0101ckelsel2017-09-24
|/ | | | | | | Problem: Some options are not strictly checked. Solution: Add flags for strickter checks. https://github.com/vim/vim/commit/031cb743ae154cfb727a9b7787bdcb61202ff1c8
* vim-patch:8.0.0305 (#7265)KunMing Xie2017-09-17
| | | | | | Problem: Invalid memory access when option has duplicate flag. Solution: Correct pointer computation. (Dominique Pelle, closes vim/vim#1442) https://github.com/vim/vim/commit/aaaf57d8a936efe420190c077e4a74041cc6c72e
* options: remove ghost of `:set termcap` (#7102)Justin M. Keyes2017-07-31
| | | Closes #6763
* vim-patch:8.0.0100 (#7085)KunMing Xie2017-07-29
| | | | | | | | | vim-patch:8.0.0100 Problem: Options that are a file name may contain non-filename characters. Solution: Check for more invalid characters. https://github.com/vim/vim/commit/319afe3804741db5a6c188bd69535fa7ed044c62
* vim-patch:8.0.0073ckelsel2017-07-23
| | | | | | | Problem: More comparisons between firstwin and lastwin. Solution: Use ONE_WINDOW for consistency. (Hirohito Higashi) https://github.com/vim/vim/commit/459ca563128f2edb7e3bb190090bbb755a56dd55
* vim-patch:8.0.0031 (#7050)KunMing Xie2017-07-22
| | | | | | Problem: After ":bwipeout" 'fileformat' is not set to the right default. Solution: Get the default from 'fileformats'. (Mike Williams) https://github.com/vim/vim/commit/e8ef3a093453b73594e15462d4de50b011c8ba66
* vim-patch:8.0.0003lonerover2017-07-19
| | | | | | | | Problem: getwinvar() returns wrong Value of boolean and number options, especially non big endian systems. (James McCoy) Solution: Cast the pointer to long or int. (closes vim/vim#1060) https://github.com/vim/vim/commit/789a5c0e3d27f09456678f0cfb6c1bd2d8ab4a35
* 'cpoptions': remove "<" flag; ignore <special>Justin M. Keyes2017-07-08
| | | | Closes #6937 "nvim_get_keymap output is unreliable"
* Merge #6816 'TUI improvements'Justin M. Keyes2017-07-07
|\ | | | | | | | | | | | | Removed these commits (test-suite changes): e2fba01910e0 7c809c4bc708 18e7cd9e9727
| * lintJustin M. Keyes2017-07-07
| |
| * tui: Disable interference in guicursor by higher layers.Jonathan de Boyne Pollard2017-06-03
| | | | | | | | | | | | | | | | | | | | Ironically, higher layers trying to be "smart" about the terminal type but not actually being very smart at all, makes it more difficult rather than less to correct the TUI layer. Note that this orphans the os_term_is_nice() function and down the road, presuming that we do not have to revert this, that function can be removed. It incorporates knowledge of terminal types and behaviours in the wrong place.
* | message: Add support for replacing `<` to str2specialZyX2017-07-02
| |
* | *: Adjust usages of modified functionsZyX2017-07-02
| |
* | screen.c: fix lintBjörn Linse2017-06-14
| |
* | screen.c: make more highlights window specificBjörn Linse2017-06-14
| |
* | *: Fix conversion warnings for tv_get_number*()James McCoy2017-06-06
| |
* | lintJames McCoy2017-06-04
| |
* | vim-patch:7.4.1979James McCoy2017-06-04
| | | | | | | | | | | | | | Problem: Getting value of binary option is wrong. (Kent Sibilev) Solution: Fix type cast. Add a test. https://github.com/vim/vim/commit/2acfbed9dbea990f129535de7ff3df360365130b
* | vim-patch:7.4.1976James McCoy2017-06-04
|/ | | | | | | Problem: Number variables are not 64 bits while they could be. Solution: Add the num64 feature. (Ken Takata) https://github.com/vim/vim/commit/22fcfad29276bd5f317faf516637dcd491b96a12
* Merge #6741 from justinmk/progpathJustin M. Keyes2017-05-15
|\
| * env_iter: Learn `delim` parameter.Justin M. Keyes2017-05-15
| |
* | options: make 'highlight' read-onlyBjörn Linse2017-05-15
|/
* ui: cleanup UI_CALL wrappersBjörn Linse2017-05-10
| | | | remove pointless control chars in the text stream
* options: allow different highlights in windowsBjörn Linse2017-05-08
|
* options: consolidate updates for window string options affected by copy_winoptBjörn Linse2017-05-05
| | | | update note at options.c head about window options
* Use vim_strchr(s, c) when c may be NUL (#6656)James McCoy2017-05-03
| | | | | | | | | | | As part of the refactoring in #5119, some vim_strchr() were changed to strchr(). However, vim_strchr() behaves differently than strchr() when c is NUL, returning NULL instead of a pointer to the NUL. Revert the strchr() calls where it isn't known whether c is NUL, since this causes a semantic change the surrounding code doesn't expect. In the case of #6650, this led to a heap overrun. Closes #6650
* Merge #6550 from ZyX-I/pvs-check-commentJustin M. Keyes2017-04-20
|\
| * *: Add comment to all C filesZyX2017-04-19
| |
* | 'scrollback': Allow :setlocal -1 on normal buffersJustin M. Keyes2017-04-20
| | | | | | | | Avoids a spurious :loadview error.
* | vim-patch:7.4.2209James McCoy2017-04-19
|/ | | | | | | | Problem: Cannot map <M-">. (Stephen Riehm) Solution: Solve the memory access problem in another way. (Dominique Pelle) Allow for using <M-\"> in a string. https://github.com/vim/vim/commit/35a4cfa200917dd171b1fff3cd5b6cee9add673d
* option: Remove FUNC_ATTR_MALLOC from get_winbuf_optionsZyX2017-04-15
| | | | Same as tv_dict_alloc() and additionally it saves some strings inside a dictionary.
* 'guicursor': Disable by default for unknown terminals.Justin M. Keyes2017-04-04
| | | | | | | User can still set guicursor explicitly in init.vim. Closes #5990 Closes #6403
* 'listchars': `Whitespace` highlight group #6367Yichao Zhou2017-04-03
|
* vim-patch:7.4.2236lonerover2017-04-01
| | | | | | | | | | Problem: The 'langnoremap' option leads to double negatives. And it does not work for the last character of a mapping. Solution: Add 'langremap' with the opposite value. Keep 'langnoremap' for backwards compatibility. Make it work for the last character of a mapping. Make the test work. https://github.com/vim/vim/commit/920694c1b60fac8017b8909efcc24f189804a9bb
* Merge pull request #6397 from jamessan/coverityJames McCoy2017-03-31
|\ | | | | Fix latest Coverity issues
| * coverity/16127: Verify lang is non-NULL before calling strlenJames McCoy2017-03-29
| |
* | api: {get,set}_option should {get,set} global value of local options (#6405)Jakob Schnitzer2017-03-30
|/ | | | | - nvim_get_option should return the global default of a local option. - nvim_set_option should set the global default of a local option.
* *: Make some more things const and with lengthZyX2017-03-29
|
* eval: Move remaining get_tv_string* functions to eval/typval.cZyX2017-03-29
|
* eval: Split and move dict_add_nr_str to typval.cZyX2017-03-29
| | | | Function was split into tv_dict_add_nr() and tv_dict_add_str().
* *: Move some dictionary functions to typval.h and use char*ZyX2017-03-29
| | | | Also fixes buffer reusage in setmatches() and complete().
* terminal: global 'scrollback' #6352Jakob Schnitzer2017-03-27
| | | | | | | | | | | Make the 'scrollback' option work like most other buffer-local options: - `:set scrollback=x` sets the global and local value - `:setglobal scrollback=x` sets only the global default - new terminal buffers inherit the global Normal buffers are still always -1, and :setlocal there is an error. Closes #6337
* vim-patch:8.0.0179raichoo2017-03-19
| | | | | | | | Problem: 'formatprg' is a global option but the value may depend on the type of buffer. (Sung Pae) Solution: Make 'formatprg' global-local. (closes vim/vim#1380) https://github.com/vim/vim/commit/9be7c04e6cd5b0facedcb56b09a5bcfc339efe03
* Merge #6252 from jamessan/vim-7.4.2069Justin M. Keyes2017-03-15
|\ | | | | vim-patch:7.4.2069,7.4.2101,7.4.2222,7.4.2223
| * lintJames McCoy2017-03-11
| |