| Commit message (Collapse) | Author | Age |
... | |
| | |
| | |
| | |
| | | |
remove pointless control chars in the text stream
|
| | | |
|
| | |
| | |
| | |
| | | |
update note at options.c head about window options
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\| | |
|
| |\ \ |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Avoids a spurious :loadview error.
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/
| |
| |
| | |
Same as tv_dict_alloc() and additionally it saves some strings inside
a dictionary.
|
| |
| |
| |
| |
| |
| |
| | |
User can still set guicursor explicitly in init.vim.
Closes #5990
Closes #6403
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\
| | |
| | | |
Fix latest Coverity issues
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
handle side-effects after validation
|
|/ /
| |
| |
| | |
For 'iminsert' and 'imsearch' the global value was always changed.
|
|/
|
|
|
| |
- nvim_get_option should return the global default of a local option.
- nvim_set_option should set the global default of a local option.
|
| |
|
| |
|
|
|
|
| |
Function was split into tv_dict_add_nr() and tv_dict_add_str().
|
|
|
|
| |
Also fixes buffer reusage in setmatches() and complete().
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| | |
vim-patch:7.4.2069,7.4.2101,7.4.2222,7.4.2223
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Looping over windows, buffers and tab pages is inconsistant.
Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/2932359000b2f918d5fade79ea4d124d5943cd07
|
| |
| |
| |
| |
| |
| |
| | |
Problem: spell.c is too big.
Solution: Split it in spell file handling and spell checking.
https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
|
|/ |
|
|
|
|
| |
Closes #2637
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Main points:
- Replace `char_u` with `char` in some cases.
- Remove `str[len] = NUL` hack in some cases when `str` may be considered
`const`.
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: When there are many errors adding them to the quickfix list takes
a long time.
Solution: Add BLN_NOOPT. Don't call buf_valid() in buf_copy_options().
Remember the last file name used. When going through the buffer
list start from the end of the list. Only call buf_valid() when
autocommands were executed.
https://github.com/vim/vim/commit/8240433f48f7383c281ba2453cc55f10b8ec47d9
|
| |
|
|
|
|
|
|
|
| |
Problem: Setting 'cursorline' changes the curswant column. (Daniel Hahler)
Solution: Add the P_RWINONLY flag. (closes vim/vim#1297)
https://github.com/vim/vim/commit/a2477fd3490c1166522631eee53c57d34321086a
|
| |
|
|
|
|
|
|
|
|
|
| |
Problem: It is not easy to get information about buffers, windows and
tabpages.
Solution: Add getbufinfo(), getwininfo() and gettabinfo(). (Yegappan
Lakshmanan)
https://github.com/vim/vim/commit/b5ae48e9ffd3b8eb6ca4057de11f1bddcde8ce6f
|
|
|
|
|
|
|
| |
Problem: The sign column disappears when the last sign is deleted.
Solution: Add the 'signcolumn' option. (Christian Brabandt)
https://github.com/vim/vim/commit/95ec9d6a6ab3117d60ff638670a803d43974ba51
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, free_oldval was set immediately on entering
did_set_string_option. However, opt_idx hadn't been adjusted to account
for diverting 'viminfo' manipulation to 'shada'.
Therefore, the code which determines whether to free the old value was
looking at the flags for 'viminfo' while the code which sets whether a
value was allocated was modifying the flags for 'shada'. This led to a
leak of any values set for 'viminfo'.
Updating free_oldval once opt_idx has been adjusted for the
'viminfo'/'shada' handling ensures the check/set values are consistent.
Closes #5698
|
|
|
|
|
|
|
| |
Problem: When setting 'filetype' there is no check for a valid name.
Solution: Only allow valid characters in 'filetype', 'syntax' and 'keymap'.
https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a
|
| |
|