| Commit message (Collapse) | Author | Age |
... | |
|\
| |
| | |
Better b:changedtick support
|
| |
| |
| | |
Port of vim-patch:8.0.0343
|
| |
| |
| |
| | |
Closes #2637
|
| | |
|
|/
|
|
|
|
|
| |
Problem: There is no equivalent of 'smartcase' for a tag search.
Solution: Add value "followscs" and "smart" to 'tagcase'. (Christian
Brabandt, closes vim/vim#712) Turn tagcase test into new style.
https://github.com/vim/vim/commit/66e29d7112e437b2b50efe1f82c7e892736d23e4
|
|\ |
|
| |\
| | |
| | | |
cmdline: CTRL-R: Omit trailing ^M character
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|
|
|
|
|
|
|
|
| |
The exists('g:loaded_foo') convention is rather common, and may be
relied upon in some cases. It's also very unlikely that a user or plugin
has any reason to set g:loaded_foo to zero, so the principle of least
surprise can be brushed aside here.
https://github.com/neovim/neovim/issues/6107#issuecomment-279532143
|
|
|
|
| |
Closes #6107
|
| |
|
|
|
|
|
|
| |
- SUCCESS should be extra green, regardless of colorscheme.
- Do not highlight INFO and SUGGESTIONS, they should not demand the
user's attention.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Closes #6039
Also: close the window if we could not get the page from man but only if
we opened it ourselves.
|
|
|
|
|
|
| |
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 will ensure that $MANWIDTH is correctly set.
|
|
|
| |
This will make man.vim work on nixOS.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Closes #3689
cmake: Add `desktop-install` and `icon-install` targets. `runtime`
target will trigger them.
Specification:
https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#recognized-keys
Icons are stored system-wide in /usr/share/applications or user wide at
/usr/share/icons/hicolor/scalable/apps and can be overriden in ~/.local/share/icons
nvim.desktop file can be installed system wide or in
~/.local/share/applications/
To test without an installer:
$ xdg-desktop-menu install --novendor runtime/nvim.desktop
$ xdg-icon-resource install --novendor --mode user --size 64 contrib/nvim-icon.png
Once it is installed, you can test with gtk-launch if installed or
dmenu/rofi (drun mode)
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| | |
Windows clipboard support
|
| | |
|
|/ |
|
|
|
|
|
| |
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
|
|\ \
| | |
| | | |
Windows: fix jobstart()
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|/ /
| |
| | |
Fixes #5926.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|