| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
|
|
|
|
|
| |
Loading existing files into a buffer is non-trivial and requires a window.
Creating an unnamed emtpy buffer is trivial and safe though, thus worth a
special case.
Change nvim_buf_set_option to use aucmd_prepbuf. This is necessary
to allow some options to be set on a not yet displayed buffer, such
as 'buftype' option.
vim-patch:7.4.1858: Add BLN_NEW to enforce buflist_new creating new buffer
|
|
|
|
|
|
| |
Problem: May get an endless loop if 'statusline' changes a highlight.
Solution: Do not let evaluating 'statusline' trigger a redraw.
https://github.com/vim/vim/commit/ba2929b6afd2fc20479912a8dec789be26a38244
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Using 'listchars' is a nice way to highlight tabs that were included by accident
for buffers that set 'expandtab'.
But maybe one does not want this for buffers that set 'noexpandtab', so now one
can use:
autocmd FileType go let &l:listchars .= ',tab: '
|
|/ |
|
|
|
|
| |
False positive: win_valid_any_tab() already checks `win != NULL`.
|
|
|
|
|
| |
using changed_lines_buf was technically incorrect, as the buffer wasn't
modififed.
|
| |
|
|
|
|
|
|
|
|
|
| |
Namespaces is a lightweight concept that should be used to group
objects for purposes of bulk operations and introspection. This is
initially used for highlights and virtual text in buffers, and is
planned to also be used for extended marks. There is no plan use them
for privileges or isolation, neither to introduce nanespace-level
options.
|
| |
|
|
|
|
|
| |
close #9113
ref #9040
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Problem: File info message not always suppressed with 'F' in 'shortmess'.
(Asheq Imran)
Solution: Save and restore msg_silent. (Christian Brabandt, closes vim/vim#3221)
https://github.com/vim/vim/commit/2f0f871159b2cba862fcd41edab65b17da75c422
ref #8840
ref #9027
|
|
|
|
|
|
| |
Problem: Newer gcc warns for implicit fallthrough.
Solution: Consistently use a FALLTHROUGH comment. (Christian Brabandt)
https://github.com/vim/vim/commit/2f40d129bf45cd35976e4120336ae6d504f5a5dd
|
| |
|
| |
|
|
|
|
| |
free_buf (param) and help_window (variable) are bool.
|
|
|
|
|
|
| |
Problem: Using freed memory in quickfix code. (Dominique Pelle)
Solution: Handle a help window differently. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/d28cc3f55d4a5a980f6ac6fa682382822a223720
|
|
|
|
|
|
| |
Return value is bool.
errmsg (param) is bool in here and in getaltfname().
allocated (param) is bool.
|
|
|
|
|
|
|
|
| |
Problem: A TextChanged autocmd triggers when it is defined after creating a
buffer.
Solution: Set b_last_changedtick when opening a buffer. (Hirohito Highlight,
closes vim/vim#2742)
https://github.com/vim/vim/commit/8c64a36e40b8746404f7151abe6849393396af10
|
| |
|
|
|
|
|
|
| |
Problem: Some users don't want to diff with hidden buffers.
Solution: Add the "hiddenoff" item to 'diffopt'. (Alisue, closes vim/vim#2394)
https://github.com/vim/vim/commit/97ce419201421f65f4764549ed80307a7ef9c7a6
|
| |
|
|
|
|
|
|
|
| |
First step towards implemening issue #7401.
The same can be done for all deprecated mb_ functions in follow-up
patches.
|
|
|
|
|
| |
Problem: g:actual_curbuf set in wrong scope. (Daniel Hahler)
Solution: Prepend the "g:" name space. (closes vim/vim#3279)
https://github.com/vim/vim/commit/3cb4448b8a5c0192988f4e349aba6d7a91a9a4bd
|
|
|
|
|
|
| |
Problem: Warning for possibly using NULL pointer. (Coverity)
Solution: Skip using the pointer if it's NULL.
https://github.com/vim/vim/commit/e4db7aedab65abadcc84c78e7a10ec7bb62f11cf
|
| |
|
|
|
|
|
|
| |
Show a proper confirmation dialog when trying to unload a terminal buffer while
the confirm option is set or when :confirm is used.
Fixes https://github.com/neovim/neovim/issues/4651
|
|
|
|
| |
Improve coverage of `build_stl_str_hl`.
Minor removal of dead code in the tested function.
|
|\
| |
| | |
fix copying setl options for buffer currently displayed in another window
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
window
vim-patch:8.0.1836: buffer-local window options may not be recent
Problem: Buffer-local window options may not be recent if the buffer is
still open in another window.
Solution: Copy the options from the window instead of the outdated window
options. (Bjorn Linse, closes vim/vim#2336)
https://github.com/vim/vim/commit/25782a7ff4755daf16c2e1cb5e5f826b13b672ce
|
| |
| |
| | |
Ref #8474
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Possible use of NULL pointer if buflist_new() returns NULL.
(Coverity)
Solution: Check for NULL pointer in set_bufref().
https://github.com/vim/vim/commit/fadacf01d0dbcc7a96ef5eee0ad57956eeab04d7
|
|/
|
|
|
|
|
|
| |
Problem: The ":stag" command does not respect 'switchbuf'.
Solution: Check 'switchbuf' for tag commands that may open a new window.
(Ingo Karkat, closes vim/vim#1681) Define macros for the return values
of getfile().
https://github.com/vim/vim/commit/8ad80dea089ffeb1a845199c013e9bb4be1cd22e
|
|
|
|
|
| |
Problem: There are still a few macros that should be all-caps.
Solution: Make a few more macros all-caps.
https://github.com/vim/vim/commit/8820b48654b62472821d9b155fe03ab7ac13a05c
|
|\ |
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
| |
Originally written by @phodge in
https://github.com/neovim/neovim/pull/5269.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|