| Commit message (Collapse) | Author | Age |
| ... | |
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The "technically correct" interpretation is to execute the first line
that is seen (and this is what happens on middle-click paste in Vim).
^M is only intended to "defuse" the newline, so the user can review it.
The parent commit changed the behavior to insert <Space> between lines,
but that's a higher-risk change: it is arguably possible that some user
*wants* the literal ^M chars when e.g. assigning to a register:
:let @a='<C-R>b'
To avoid that risk, keep the old behavior and only omit the last ^M.
This makes `yy:<C-R>0` nicer at no cost.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
^M isn't any more "correct" than space: the "technically correct"
interpretation is to execute the first line that is seen (and this is
what happens on middle-click paste in Vim). ^M is only intended to
defuse the newline, so that the user can review the command. We can do
that with a space instead, and then the command can be executed without
having to fix it up first.
|
| | |/
| |
| | |
This was never supported and it does not make sense for Nvim.
|
| | |
| |
| |
| |
| |
| | |
Closes #1887
Helped-by: Tommy Allen <tommy@esdf.io>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Using function() with a name will find another function when it is
redefined.
Solution: Add funcref(). Refer to lambda using a partial. Fix several
reference counting issues.
https://github.com/vim/vim/commit/437bafe4c8a83ed71ee006eda7f54b65a90f0d4c
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: User defined functions can't be a closure.
Solution: Add the "closure" argument. Allow using :unlet on a bound
variable. (Yasuhiro Matsumoto, Ken Takata)
https://github.com/vim/vim/commit/10ce39a0d52272a3dfff2feb8c631529f29e6740
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: Closures are not supported.
Solution: Capture variables in lambdas from the outer scope. (Yasuhiro
Matsumoto, Ken Takata)
https://github.com/vim/vim/commit/1e96d9bf98f9ab84d5af7f98d6a961d91b17364f
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: Using submatch() in a lambda passed to substitute() is verbose.
Solution: Use a static list and pass it as an optional argument to the
function. Fix memory leak.
https://github.com/vim/vim/commit/df48fb456fb6bf63d94cad9b302ff01d8ee8d311
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: filter() and map() either require a string or defining a function.
Solution: Support lambda, a short way to define a function that evaluates an
expression. (Yasuhiro Matsumoto, Ken Takata)
https://github.com/vim/vim/commit/069c1e7fa9f45a665064f7f2c17da84d6a48f544
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: filter() and map() only accept a string argument.
Solution: Implement using a Funcref argument (Yasuhiro Matsumoto, Ken
Takata)
https://github.com/vim/vim/commit/b33c7eb5b813cb631b2b0ca5c4029e1788a09bde
|
| |/
|
|
|
|
|
|
| |
Problem: Cannot detect a crash in tests when caused by garbagecollect().
Solution: Add garbagecollect_for_testing(). Do not free a job if is still
useful.
https://github.com/vim/vim/commit/ebf7dfa6f121c82f97d2adca3d45fbaba9ad8f7e
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
This allows executables to be found by :!, system(), and executable() if
they live next to ("sibling" to) nvim.exe. This is what gvim on Windows
does, and also matches the behavior of Win32 SearchPath().
https://github.com/vim/vim/blob/c4a249a736d40ec54794827ef95804c225d0e38f/src/os_win32.c#L354-L370
|
| |
|
|
|
|
| |
Updated runtime files.
https://github.com/vim/vim/commit/063b9d15abea041a5bfff3ffc4e219e26fd1d4fa
|
| |
|
|
|
|
| |
Updated runtime files.
https://github.com/vim/vim/commit/e18dbe865d190e74fb5d43ac8bc6ac22507d0223
|
| |
|
|
|
|
| |
Updated runtime files.
https://github.com/vim/vim/commit/802a0d902fca423acb15f835d7b09183883d79a0
|
| |
|
|
|
|
| |
Updated runtime files.
https://github.com/vim/vim/commit/a02a551e18209423584fcb923e93c6be18f3aa45
|
| |
|
|
|
|
|
|
|
|
| |
This default causes too much confusion for terminal users. Until
a better approach is implemented, revert to the traditional default.
Better solution would be:
- Implement a right-click menu for TUI
- Set 'mouse=a' *only* if clipboard is working.
Closes #5938
|
| | |
|
| |
|
|
|
| |
Also:
- test that DirChanged is not recursive
- fix 'not trigger if :cd fails' test on Windows
|
| |\ |
|
| | | |
|
| |\ \
| |/
|/|
| | |
7.4.2313, 7.4.2314'.
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Cannot update 'tabline' when a tab was closed.
Solution: Add the TabClosed autocmd event. (partly by Felipe Morales)
https://github.com/vim/vim/commit/12c11d553053f5a9eae9eb3c518279b12fa928c2
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: No autocommand event to initialize a window or tab page.
Solution: Add WinNew and TabNew events. (partly by Felipe Morales)
https://github.com/vim/vim/commit/c917da4b3e8801a255dbefea8e4ed19c1c716dd8
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Closes #5360
References #3305
Reverts commit dc9652e68de163290abee880a74bf1727c715a1e.
Disabling the quoting was does not solve the problem in general, and
we would end up having to handle the quoting ourselves.
See: https://github.com/JuliaLang/julia/issues/13776
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: evalcmd() has a confusing name.
Solution: Rename to execute(). Make silent optional. Support a list of
commands.
https://github.com/vim/vim/commit/79815f1ec77406f2f21a618c053e5793b597db7a
|
| | |
| |
| |
| |
| |
| | |
Updated runtime files.
https://github.com/vim/vim/commit/c95a302a4c42ec8230473cd4a5e0064d0a143aa8
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Viminfo does not merge file marks properly.
Solution: Use a timestamp. Add the :clearjumps command.
https://github.com/vim/vim/commit/2d35899721da0e9359a9fe1059554f8c4ea7f0c1
|
| | |
| |
| |
| |
| |
| | |
Updated runtime files.
https://github.com/vim/vim/commit/82af8710bf8d1caeeceafb1370a052cb7d92f076
|
| |/
|
|
|
|
| |
Updated runtime files.
https://github.com/vim/vim/commit/aa3b15dbebf333282503d6031e2f9ba6ee4398ed
|
| |
|
|
|
|
|
| |
Problem: Can't have "augroup END" right after ":au!".
Solution: Check for the bar character before the command argument.
https://github.com/vim/vim/commit/e99e84497b89e5f91df519790802770920ecf4fe
|
| | |
|
| |\ |
|
| | |
| |
| |
| | |
vim-patch:7.4.1838
|
| | |
| |
| |
| |
| |
| |
| | |
- Eliminate global test_autochdir.
- Eliminate VimL function test_autochdir()
- Use a lua test instead. Fails correctly after reverting
0c4347997954 / vim-patch:7.4.2015.
|
| | |
| |
| |
| |
| |
| | |
Updated runtime files.
https://github.com/vim/vim/commit/6f1d9a096bf22d50c727dca73abbfb8e3ff55176
|
| |/
|
|
|
| |
runtime: Add underscore to {} helpSpecial syntax pattern
docs: Added generated api-funcs.txt
|
| |
|
|
|
|
|
|
| |
Problem: getwininfo() and getbufinfo() are inefficient.
Solution: Do not make a copy of all window/buffer-local options. Make it
possible to get them with gettabwinvar() or getbufvar().
https://github.com/vim/vim/commit/3056735ae8a366aa7fcb51872520895251858637
|
| |
|
|
|
|
|
|
| |
Problem: The field names used by getbufinfo(), gettabinfo() and
getwininfo() are not consistent.
Solution: Use bufnr, winnr and tabnr. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/339288377072f66ec88e21903e75a82d23ffbf4f
|
| |
|
|
|
|
|
|
|
| |
Problem: It's not easy to find out if a window is a quickfix or location
list window.
Solution: Add "loclist" and "quickfix" entries to the dict returnec by
getwininfo(). (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/386600f0cbcb8add099c723cf84634f46df2f788
|
| |
|
|
|
|
| |
Updated runtime files.
https://github.com/vim/vim/commit/0952131376a517fc12dc5ae908a97018b4ee23f0
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Instead, a note was added to `:h man.vim` on how 'fileignorecase'
controls the case sensitivity of completion.
|
| |
|
|
|
|
|
| |
Problem: There is a :cbottom command but no :lbottom command.
Solution: Add :lbottom. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/537ef08408c50e0c4104d57f74993b3b0ed9560d
|
| |
|
|
|
|
|
| |
Problem: Cannot easily scroll the quickfix window.
Solution: Add ":cbottom".
https://github.com/vim/vim/commit/dcb170018642ec144cd87d9d9fe076575b8d1263
|
| |
|
|
| |
References #5529
|
| | |
|