| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Problem: The BufUnload event is triggered twice, when :bunload is used with
set to or .
Solution: Do not trigger the event when ml_mfp is NULL. (Hirohito Higashi)
https://github.com/vim/vim/commit/c67e89213476b5f4756d92208b57ce9ef4a4cf24
|
|
|
|
|
|
|
|
| |
Closes #5616
Problem: Drop command doesn't use existing window.
Solution: Check the window width properly. (Hirohito Higashi)
https://github.com/vim/vim/commit/5a030a540f4157d5c9905e3564282c92b4dcec9a
|
|
|
|
|
|
|
| |
- Use a standard scratch buffer instead of a new 'buftype', functions
like curbufIsChanged() already have special handling for scratch bufs.
- Cleanup some stuff from the previous merge.
- Add support for :smagic, :snomagic. Closes #5578
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Eliminate/isolate static/global variables
- Remove special-case parameter from buflist_new()
- Remove special-case ECMD_RESERVED_BUFNR
- To determine when u_undo_and_forget() should be done, check
b_changedtick instead of a heuristic.
- use mb_string2cells() instead of strlen() to measure the :sub patterns
- call ml_close() before buf_clear_file(). Avoids leaks caught by ASan.
Original patch by:
Robin Elrharbi-Fleury (Robinhola)
Audrey Rayé (Adrey06)
Philémon Hullot (DesbyP)
Aymeric Collange (aym7)
Clément Guyomard (Clement0)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Originally implemented by
* Clement0
* DesbyP
* aym7
* Adrey06
* Robinhola
in #4811. Major reworkings and bug
fixes by
* bfredl
Most tests suggested by ZyX-l, suggestions for improvements by oni-link.
|
|\
| |
| |
| | |
Closes #5246
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Crash when autocommand moves to another tab. (Dominique Pelle)
Solution: When navigating to another window halfway the :edit command go
back to the right window.
https://github.com/vim/vim/commit/5a49789a9b1f6447aeafbbbdd5b235dd10c471d5
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Mark " is not set when closing a window in another tab. (Guraga)
Solution: Check all tabs for the window to be valid. (based on patch by
Hirohito Higashi, closes vim/vim#974)
https://github.com/vim/vim/commit/e59215c7dcae17b03daf39517560cfaa03314f5a
|
|/
|
|
|
|
|
|
|
|
|
| |
Closes #5449
A file containing the string "vim" followed by a very large number in a modeline
location will trigger an overflow in getdigits() which is called by
chk_modeline() when trying to parse the version number.
Add getdigits_safe(), which does not assert overflows, but reports them to the
caller.
|
|
|
|
|
|
|
|
|
| |
Check `exists('b:term_title')` to avoid the BufReadCmd for already-initialized
:terminal buffers.
Move the test for `:argadd`.
Add a test for `:edit<CR>`.
Tweak comments and code style.
|
|
|
|
|
|
|
|
|
|
| |
move `call_shell` to misc1.c
Move some fns to state.c
Move some fns to option.c
Move some fns to memline.c
Move `vim_chdir*` fns to file_search.c
Move some fns to new module, bytes.c
Move some fns to fileio.c
|
|
|
|
| |
also allow handle==0 meaning curbuf/curwin/curtab
|
| |
|
| |
|
|
|
|
|
|
| |
This new functionality is explained in the documentation.
Also, many tests have been added to the buffer_spec.lua file
|
|
|
|
|
|
|
| |
Problem: Cannot define keyword characters for a syntax file.
Solution: Add the ":syn iskeyword" command. (Christian Brabandt)
https://github.com/vim/vim/commit/b8060fe862f684b591f9ac679eac5b2594d6c5a0
|
| |
|
|
|
|
|
|
|
| |
Problem: Crash with an extremely long buffer name.
Solution: Limit the return value of vim_snprintf(). (Dominique Pelle)
https://github.com/vim/vim/commit/507edf63df75fe228e0f76b845b58d60266e65d8
|
|
|
|
| |
Originally there were 128 new errors, so I thought this is a good idea to fix
all of them. Of course, this commit also fixes many suppressed errors.
|
|
|
|
|
|
|
|
|
| |
Problem: Having 'autochdir' set during startup and using diff mode doesn't
work. (Axel Bender)
Solution: Don't use 'autochdir' while still starting up. (Christian
Brabandt)
https://github.com/vim/vim/commit/6bd364e08461159ad3c153ffba4def5b896486a1
|
|\
| |
| | |
vim-patch:7.4.{941,942,957}
|
| |
| |
| |
| |
| |
| |
| | |
Problem: There is no way to ignore case only for tag searches.
Solution: Add the 'tagcase' option. (Gary Johnson)
https://github.com/vim/vim/commit/0f6562e9036f889185dff49a75c7fc5ffb28b307
|
| |
| |
| |
| | |
Co-authored-by: Wayne Rowcliffe (@war1025)
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Add "Don't give the file editing message" flag in shortmess option.
Add the UI tests by @fmoralesc
Fix the changes for Vim 7.4.1570
|
|/
|
|
|
|
|
| |
Problem: Statusline highlighting is sometimes wrong.
Solution: Check for Highlight type. (Christian Brabandt)
https://github.com/vim/vim/commit/af6e36ff16736106a1bc63bb4d01f51fdfeb29a2
|
| |
|
|
|
|
|
| |
False positive: buflist_findnr() should not be NULL in this case because
it is given a buffer number that (should be) guaranteed to exist.
|
|\
| |
| | |
vim-patch:7.4.742
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Cannot specify a vertical split when loading a buffer for a
quickfix command.
Solution: Add the "vsplit" value to 'switchbuf'. (Brook Hong)
https://github.com/vim/vim/commit/a594d77ffcccf2ac0e4079c41342ca55d4c9bb08
|
|/
|
|
|
|
|
|
| |
Problem: The ruler shows "Bot" even when there are only filler lines
missing. (Gary Johnson)
Solution: Use "All" when the first line and one filler line are visible.
https://github.com/vim/vim/commit/29bc9db36e41cb519dca9381cc29a3fc1ff02106
|
| |
|
|
|
|
| |
Currently untested and undocumented.
|
|
|
|
|
| |
file_pat_to_reg_pat() and buflist_findpat() do not modify the data of
these parameters.
|
|
|
|
|
|
|
|
| |
Problem: The # register is not writable, it cannot be restored after
jumping around.
Solution: Make the # register writable. (Marcin Szamotulski)
https://github.com/vim/vim/commit/3b3a9498d1eab3c28c524cce115160528a9a9297
|
|
|
|
|
|
|
|
| |
Problem: When splitting the window in a BufAdd autocommand while still in
the first, empty buffer the window count is wrong.
Solution: Do not reset b_nwindows to zero and don't increment it.
https://github.com/vim/vim/commit/8da9bbfd02957b79edd595c8c7397453012510b0
|
|
|
|
|
|
| |
Closes #3763
Helped-by: oni-link <knil.ino@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Regarding the individual items in the header:
`Vim - Vi improved by Bram Moolenar`
Bram Moolenar is already mentioned throughout the documentation, as
well as the intro screen.
`:help uganda`
It's already shown to all users who don't use `shortmess+=I` upon
starting nvim, and is already placed prominently in help.txt, i.e.,
`:help` run with no arguments.
`:help credits`
Already mentioned near the top of help.txt.
`README.md`
Already mentioned in develop.txt.
|
| |
|
|
|
|
|
| |
The former no longer exists in this repo; see the top of
src/nvim/README.md.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|