aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.c
Commit message (Collapse)AuthorAge
...
* Handle 'orphaned signs' on line deletion for signcolumn >= 2Dan Aloni2021-04-17
|
* Border: allow to enable/disable specific border edgesBjörn Linse2021-04-04
|
* vim-patch:8.1.1631: displaying signs is inefficientLewis Russell2021-04-03
| | | | | | | | + support for neovim's dynamic width signcolumn Problem: Displaying signs is inefficient. Solution: Avoid making multiple calls to get information about a placed sign. (Yegappan Lakshmanan, closes #4586)
* vim-patch:8.1.0936: may leak memory when using 'vartabstop'Jan Edmund Lazo2021-03-30
| | | | | | Problem: May leak memory when using 'vartabstop'. (Kuang-che Wu) Solution: Fix handling allocated memory for 'vartabstop'. (closes vim/vim#3976) https://github.com/vim/vim/commit/55c77cf2ea9c15e1ec75d1faf702ec3c9e325271
* vim-patch:8.2.2454: leading space can not be made visible (#14138)zeertzjq2021-03-29
| | | | | | Problem: Leading space can not be made visible. Solution: Add "lead:" to 'listchars'. (closes vim/vim#7772) https://github.com/vim/vim/commit/91478ae49a1b2dc1de63821db731a343e855dcc0
* clang: fix compile warnings in tab code (#14239)Jan Edmund Lazo2021-03-28
| | | https://github.com/neovim/neovim/pull/13851
* vim-patch:8.1.0936: may leak memory when using 'vartabstop'VVKot2021-03-28
| | | | | | Problem: May leak memory when using 'vartabstop'. (Kuang-che Wu) Solution: Fix handling allocated memory for 'vartabstop'. (closes vim/vim#3976) https://github.com/vim/vim/commit/55c77cf2ea9c15e1ec75d1faf702ec3c9e325271
* vim-patch:8.1.0542: shiftwidth() does not take 'vartabstop' into accountVVKot2021-03-28
| | | | | | | | Problem: shiftwidth() does not take 'vartabstop' into account. Solution: Use the cursor position or a position explicitly passed. Also make >> and << work better with 'vartabstop'. (Christian Brabandt) https://github.com/vim/vim/commit/f951416a8396a54bbbe21de1a8b16716428549f2
* vim-patch:8.1.0479: failure when setting 'varsofttabstop' to end in a commaVVKot2021-03-28
| | | | | | | | Problem: Failure when setting 'varsofttabstop' to end in a comma. (Ralf Schandl) Solution: Reject value with trailing command. Add test for invalid values (closes vim/vim#3544) https://github.com/vim/vim/commit/64f410742f101d7d5ea9e65503e1e0019605eaa5
* vim-patch:8.1.0138: negative value of 'softtabstop' not used correctlyVVKot2021-03-28
| | | | | | Problem: Negative value of 'softtabstop' not used correctly. Solution: Use get_sts_value(). (Tom Ryder) https://github.com/vim/vim/commit/33d5ab3795720b7d986f9f17f660ee9e448466e0
* vim-patch:8.1.0126: various problems with 'vartabstop'VVKot2021-03-28
| | | | | | | Problem: Various problems with 'vartabstop'. Solution: Fix memory leak. Fix crash. Add a few more tests. (Christian Brabandt, closes vim/vim#3076) https://github.com/vim/vim/commit/307ac5c68e9e624ab713136d79f35bb73f780d2d
* vim-patch:8.1.0114: confusing variable nameVVKot2021-03-28
| | | | | | Problem: Confusing variable name. Solution: Rename new_ts to new_vts_array. Change zero to NULL. https://github.com/vim/vim/commit/0119a59ffdfb21cf1c0a56e7ed6105e875150163
* vim-patch:8.1.0105: all tab stops are the sameVVKot2021-03-28
| | | | | | | Problem: All tab stops are the same. Solution: Add the variable tabstop feature. (Christian Brabandt, closes vim/vim#2711) https://github.com/vim/vim/commit/04958cbaf25eea27eceedaa987adfb354ad5f7fd
* vim-patch:8.2.1666: the initial value of 'backupskip' can have duplicate itemsJan Edmund Lazo2021-03-27
| | | | | | | Problem: The initial value of 'backupskip' can have duplicate items. Solution: Remove duplicates, like when it is set later. (Tom Ryder, closes vim/vim#6940) https://github.com/vim/vim/commit/b00ef0508b22905379953a164bdb4300015d3705
* floats: add borders (MS-DOS MODE)Björn Linse2021-03-22
|
* vim-patch:8.2.2452: no completion for the 'filetype' optionJan Edmund Lazo2021-03-12
| | | | | | Problem: No completion for the 'filetype' option. Solution: Add filetype completion. (Martin Tournoij, closes vim/vim#7747) https://github.com/vim/vim/commit/d5e8c92816f35ea1a9298084238a08f35958baa6
* option: use char* for get_option_value() paramJan Edmund Lazo2021-02-07
| | | | | | 'name' param is casted to char_u* within get_option_value(). Most calls to get_option_value() cast arg to 'name' from char to char_u. Remove these pointless type casts.
* option: use char* for set_string_option_direct()Jan Edmund Lazo2021-02-07
| | | | | | | "name" param was cast to (const char *). All calls to set_string_option_direct() cast 1st arg from (char *) to (char_u *). Remove these useless casts.
* Add termpastefilter optionerw72021-02-04
| | | | | Change to specify a character to be filtered as an option when pasting on the terminal.
* opt: address linting issues (#13783)Sirisak Lueangsaksri2021-01-20
|
* opt: better handling number bounds (#13783)Sirisak Lueangsaksri2021-01-20
|
* opt: reduce hardcoded values (#13783)Sirisak Lueangsaksri2021-01-20
|
* opt: minimum sign size for auto (#13783)Sirisak Lueangsaksri2021-01-20
|
* vim-patch:8.2.0590: no 'backspace' value allows ignoring the insertion pointJan Edmund Lazo2021-01-05
| | | | | | Problem: No 'backspace' value allows ignoring the insertion point. Solution: Add the "nostop" and 3 values. (Christian Brabandt, closes vim/vim#5940) https://github.com/vim/vim/commit/aa0489e12d227d24752cf16e4e97058ac32edcc1
* Merge pull request #13592 from bfredl/setmouseBjörn Linse2021-01-01
|\ | | | | ui: make 'mouse' handling in external UI more consistent
| * ui: make 'mouse' handling in external UI more consistentBjörn Linse2021-01-01
| | | | | | | | | | | | | | | | | | before the behaviour of 'mouse' was inconsistent in external UI, as some remapping logic would check has_mouse() and others don't (no difference in TUI or vim classic). With this change, the behaviour is consistently up to the UI decide (see ui.txt edit) Behaviour of tui.c is unaffected by this change.
* | vim-patch:8.1.1032: warnings from clang static analyzerJan Edmund Lazo2020-12-28
| | | | | | | | | | | | Problem: Warnings from clang static analyzer. (Yegappan Lakshmanan) Solution: Fix relevant warnings. https://github.com/vim/vim/commit/2c519cf3bfe76083767ac94c674d2e161ed36587
* | Merge pull request #13595 from teto/fix-fillerBjörn Linse2020-12-24
|\ \ | |/ |/| de curwinify some functions
| * refactor: pass the window to get_(side)scrolloff_valueMatthieu Coudron2020-12-23
| | | | | | | | to less rely on curwin
* | foldcolumn: support "auto" (#13571)Jan Edmund Lazo2020-12-20
|/ | | | | | "set foldcolumn=auto" is documented but not supported. Support it by making it behave as "auto:1", similar to "signcolumn". Close https://github.com/neovim/neovim/pull/13561
* unused macros: Remove a five unused macros. (#13517)Edwin Pujols2020-12-11
| | | | | | | | | | Removes: - GET_CHARTAB - PRT_PS_DEFAULT_BUFFER_SIZE - key_t - PROP_MASK - SCTX_INIT Referring #13505.
* api/options: cleanup the fixupBjörn Linse2020-12-04
|
* api/options: fixupTJ DeVries2020-12-04
|
* api/options: cleanupBjörn Linse2020-12-04
|
* api/options: add option metadataTJ DeVries2020-12-04
|
* initialization: delay logging in set_init_1()Björn Linse2020-11-28
|
* Merge pull request #13379 from bfredl/runtimeBjörn Linse2020-11-25
|\ | | | | runtime: extract 'runtimepath' and 'packpath' logic to its own file
| * runtime: extract 'runtimepath' and 'packpath' logic to its own fileBjörn Linse2020-11-25
| | | | | | | | No code changes, except for added ILOG for the calculated startup path
* | Merge pull request #13322 from teto/remove_curwinThomas Vigouroux2020-11-24
|\ \ | | | | | | refactor: pass window to was_set_insecurely
| * | refactor: pass window to was_set_insecurelyMatthieu Coudron2020-11-23
| |/ | | | | | | | | | | working on get_foldtext and wanted to get rid of the curwin backup/restore. Turns out it's not possible else f_foldtext is run on the same window. Kept the cleanup anyway.
* | vim-patch:8.1.2115: MS-Windows: shell commands fail if &shell contains a spaceJan Edmund Lazo2020-11-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: MS-Windows: shell commands fail if &shell contains a space. Solution: Use quotes instead of escaping. (closes vim/vim#4920) https://github.com/vim/vim/commit/2efc44b3f0b6bd8307cb281af095e08e15ab1c24 Always double-quote &shell if it contains a space. Neovim does not support escaping space with backslash, unlike Vim. N/A patches for version.c: vim-patch:8.0.1455: if $SHELL contains a space then 'shell' is incorrect Problem: If $SHELL contains a space then the default value of 'shell' is incorrect. (Matthew Horan) Solution: Escape spaces in $SHELL. (Christian Brabandt, closes vim/vim#459) https://github.com/vim/vim/commit/4bfa8af14142e54f509048239f4e8596911f56aa vim-patch:8.2.1194: test failure because shell prompt differs Problem: Test failure because shell prompt differs. Solution: Set the shell prompt. https://github.com/vim/vim/commit/a4dc6f92bb29b00783f8945bbe1101e837b6ad3c
* | vim-patch:8.1.2332: missing file in refactoringJan Edmund Lazo2020-11-22
|/ | | | | | Problem: Missing file in refactoring. Solution: Update missing file. https://github.com/vim/vim/commit/556ae8ea28b4e3e9fc47ad130795009a3080146e
* vim-patch:8.1.0806: too many #ifdefsJan Edmund Lazo2020-11-12
| | | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, part 2. https://github.com/vim/vim/commit/fc3abf47fbe1e426f2b676c316c81ee9ff607075
* startup: handle autoload and lua packages during startupBjörn Linse2020-11-02
| | | | ¡NO HAY BANDA!
* Merge pull request #12870 from bfredl/themeparkBjörn Linse2020-11-01
|\ | | | | Color themes (per window/line) and lua theme providers
| * api: add API for themesBjörn Linse2020-11-01
| | | | | | | | | | | | | | | | | | | | co-author: hlpr98 <hlpr98@gmail.com> (dict2hlattrs function) orange is sus?? NOVEMBER DAWN erase the lie that is redraw_later()
* | vim-patch:8.2.1926: cannot use a space in 'spellfile'Jan Edmund Lazo2020-11-01
| | | | | | | | | | | | Problem: Cannot use a space in 'spellfile'. (Filipe Brandenburger) Solution: Permit using a space. (closes vim/vim#7230) https://github.com/vim/vim/commit/b2620202c7778d8c709941fb430eeeeab6e63a6a
* | vim-patch:8.2.1909: number of status line items is limited to 80Rom Grk2020-10-31
|/ | | | | | | | | | Problem: Number of status line items is limited to 80. Solution: Dynamically allocate the arrays. (Rom Grk, closes vim/vim#7181) https://github.com/vim/vim/commit/8133cc6bf454eb90bb0868f7cf806fce5c0c9fe6 The members of stl_item_T have not been prefixed with stl_ contrary to the vim patch because the amount of stl_ prefixes on single lines of code in that region was hurtful to readability.
* vim-patch:8.1.1772: options test still fails on MS-Windowsskippi2020-10-26
| | | | | | Problem: Options test still fails on MS-Windows. Solution: Check buffer-local value of 'completeslash'. https://github.com/vim/vim/commit/b78564d0221089e6dfc9c9d58239c18b991ca9fe
* vim-patch:8.1.1769: 'shellslash' is also used for completionskippi2020-10-26
| | | | | | Problem: 'shellslash' is also used for completion. Solution: Add the 'completeslash' option. (Yasuhiro Matsumoto, closes vim/vim#3612) https://github.com/vim/vim/commit/ac3150d385e6e3f3fe76642aac3cda954d30583f