| Commit message (Collapse) | Author | Age |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Defining function in sandbox is inconsistent, cannot use :function
but can define a lambda.
Solution: Allow defining a function in the sandbox, but also use the sandbox
when executing it. (closes vim/vim#3182)
https://github.com/vim/vim/commit/93343725b5fa1cf580a24302455980faacae8ee2
|
|\ \ \
| | | |
| | | | |
floating-window.c: fix crash when using inccommand
|
| | | | |
|
| | | | |
|
|/ / / |
|
|\ \ \
| |/ /
|/| | |
window: don't crash when closing two floats in a row
|
|/ /
| |
| |
| |
| | |
prevwin can be set to the current window. Then we can't jump to it
after closing a float.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Nvim doesn't expect a window-changing command on an created-window event.
autocmd WinNew * wincmd p
help help
- A snapshot for window 1000 is created.
- The window is split and the cursor changes to the new window 1001.
- The autocmd kicks in and switches back to 1000.
- The help buffer is opened.
- On closing the help window 1000, it tries to go back to the snapshotted window
which is... 1000.
- wp1000->w_buffer == NULL
- w_buffer is used by check_cursor()
- 🧨 -> 💥
Fixes https://github.com/neovim/neovim/issues/9773
|
| |
| |
| |
| |
| | |
ONE_WINDOW considers all windows whereas one_window() ignores floating windows.
Fixes https://github.com/neovim/neovim/issues/9768
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Unused condition. (Coverity)
Solution: Remove the condition. Also remove unused #define.
https://github.com/vim/vim/commit/d00e024d9f2b631226c1dba83cb203739b0d02a3
|
|/ /
| |
| |
| |
| |
| | |
Problem: Checking NULL pointer after addition. (Coverity)
Solution: First check for NULL, then add the column.
https://github.com/vim/vim/commit/64c8ed366de995a01ca1a072a6943ede0d7bb932
|
| | |
|
| |
| |
| | |
closes #9750
|
| |
| |
| | |
Mention the common press-enter issue and how to visualize the screen.
|
| |
| |
| |
| |
| |
| | |
Problem: Sign ordering depends on +netbeans feature.
Solution: Also order signs without +netbeans. (Christian Brabandt,
closes vim/vim#3224)
https://github.com/vim/vim/commit/8aeb504fc68e3fea9da5567d2d9a31a132fbf90f
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Lua test correctly fails when 8.1.0849 is reverted.
- 8.1.1001 bug does not manifest in Neovim.
vim-patch:8.1.0849: cursorline highlight is not always updated
Problem: Cursorline highlight is not always updated.
Solution: Set w_last_cursorline when redrawing. Fix resetting cursor flags
when using the popup menu.
https://github.com/vim/vim/commit/c07ff5c60ad35982e9cdaa9dd72d3d1669935e87
vim-patch:8.1.1001: Visual area not correct when using 'cursorline'
Problem: Visual area not correct when using 'cursorline'.
Solution: Update w_last_cursorline also in Visual mode. (Hirohito Higashi,
closes vim/vim#4086)
https://github.com/vim/vim/commit/8156ed37558231a8167a1a61a147713d84c9af59
|
| |
| |
| |
| |
| | |
ref #9748
ref #9743
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Matching too many files as zsh. (Danek Duvall)
Solution: Be more specific with zsh filetype patterns.
https://github.com/vim/vim/commit/2bf60b300188a7a733408a21a9716362ef4e2c44
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Some shell filetype patterns end in a star.
Solution: Make sure that patterns not ending in a star are preferred.
https://github.com/vim/vim/commit/147e7d0caba8b66ff11622e514142bcc3d24403a
|
|/ /
| |
| |
| |
| |
| | |
Problem: Off-by-one error in filetype detection.
Solution: Also check the last line of the file.
https://github.com/vim/vim/commit/493fbe4abee660d30b4f2aef87b754b0a720213c
|
| |
| |
| |
| |
| | |
On some (but not all) systems this works implicitly.
fixes #9743
|
|\ \ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: 'indentkeys' and 'cinkeys' defaults are different.
Solution: Make them the same, update docs. (close vim/vim#3882)
https://github.com/vim/vim/commit/ce655743ba5c56c00769e57e6a6608c0088211ab
|
| | |
| | |
| | |
| | |
| | | |
Problem: vim_str2nr() does not handle numbers close to the maximum.
Solution: Check for overflow more precisely. (Ken Takata, closes vim/vim#2746)
https://github.com/vim/vim/commit/07ccf7ce7fb948fd4d080b817e9fbaea9e721dab
|
|\ \ \
| |/ /
|/| | |
cmdline: revert <down> and <up> mappings for wildoptions=pum
|
|/ /
| |
| |
| |
| | |
These confict with navigation mappings. Better leave them to the user to
reverse them for now for users that want it.
|
|\ \
| | |
| | | |
Closes #9723
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
bisected to f5d5da391715
Other test steps:
nvim -u NORC
:terminal tree / " Produces lots of output
:edit somefile.txt
:vsplit
:vsplit
<c-w>l
<c-w>l
<c-w>h
<c-w>p
|
| | |
| | |
| | |
| | |
| | | |
Problem: Indent from autoindent not removed from blank line. (Daniel Hahler)
Solution: Do not reset did_ai when text follows. (closes vim/vim#4119)
https://github.com/vim/vim/commit/2ba4238818ca5ea52334de3037ef3729584cebf5
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
`wl-copy` by default tries to determine the mime type of a copied bit of
text. From the [readme](https://github.com/bugaevc/wl-clipboard):
> wl-copy automatically infers the type of the copied content by running
> xdg-mime(1) on it.
So copying a Ruby script from Nvim may store it in the Wayland clipboard
as mime-type `application/x-ruby`.
This is a small reproduction without Nvim:
$ cat test.rb
#!/usr/bin/env ruby
puts 'hello world'
$ cat test.rb | wl-copy
$ wl-paste --list-types
application/x-ruby
This commit fixes that by telling wl-copy that all text copied from
Nvim has the mime type `text/plain`.
$ cat test.rb | wl-copy --type text/plain
$ wl-paste --list-types
text/plain;charset=utf-8
|
|\ \ \
| | | |
| | | | |
UI: deprecate redundant ext_wildmenu events and allow TUI popupmenu for cmdline
|
| |/ /
| | |
| | |
| | |
| | | |
Deprecate ext_wildmenu. ext_popupmenu already contains more state (anchor
position), and will allow further expansion (info about items).
|
|\ \ \
| | | |
| | | |
| | | | |
fixes #9681
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change to use os_getenv instead of getenv because environment variable
set by uv_os_setenv can not be get with getenv.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since uv_os_setenv uses SetEnvironmentVariableW, _wenviron is no
updated. As a result, inconsistency occurs in completion of environment
variable names. Change to use GetEnvironmentStaringsW instead of
_wenviron to solve it.
|
|\ \ \ \
| |_|/ /
|/| | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Error when defining a Lambda with index of a function result.
Solution: When not evaluating an expression and skipping a function call,
set the return value to VAR_UNKNOWN.
https://github.com/vim/vim/commit/b4518563c73460150344a57879bf5b22cb8b1c77
|