| Commit message (Collapse) | Author | Age |
... | |
| | | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
- Avoid using platform-specific shell, it failed in MINGW_64 env.
- tty-test.c echos our input, which is exactly what we need for this test.
- Test fails correctly if 894f6bee54e8 is reverted.
|
| | |
| | |
| | |
| | |
| | | |
closes #8324
closes #8556
|
|\ \ \ |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Previously the mouse tests set 'listchars', but not 'list'. Funnily enough, the
space, where the `$` would normally appear, would still use new highlight group.
Set 'list' for good and fix the tests accordingly.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
wp->w_height_inner now contains the "inner" size, regardless if the
window has been drawn yet or not. It should be used instead of
wp->w_grid.Rows, for stuff that is not directly related to accessing
the allocated grid memory, such like cursor movement and terminal size
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Return the menu properties, not only its children.
- If the {path} param is given, return only the first node. The "next"
nodes in the linked-list are irrelevant.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Caused by a typo: `dict` instead of `dic`. Renamed variable to `d` to
make it less similar.
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
:menu should print sub-menu contents. E.g. this should print the
"File.Save" submenu:
nvim -u NORC
:source $VIMRUNTIME/menu.vim
:menu File.Save
Regressed in dc685387a3d6
Blocks #8173
menu_get() also was missing some results for some cases.
|
| | | |
|
| | | |
|
|\ \ \ |
|
| |/ / |
|
|/ /
| |
| |
| |
| | |
close #9515
ref #9280
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In vim, scrolling a window might mess up the cmdline. To keep it simple,
cmdline was always cleared for any window scroll. In nvim, where safe scrolling
is implemented in the TUI layer, this problem doesn't exist.
Clearing the message on scrolling, when we not do it e.g when switching tabs
is a bit weird, as the former is a much smaller context change.
A vim patch introduced the possibility to avoid the cmdlline clear for
redraws caused by async events. This case will now trivially be covered,
as the redraw is always avoided.
vim-patch:8.0.0592: if a job writes to a buffer screen is not updated
|
| |
| |
| |
| |
| |
| |
| | |
Reverts d2944e6a298e. mf_open() _can_ fail if the file does not exist.
closes #9503
closes #9504
|
| |
| |
| |
| |
| |
| | |
Implement lazy loading for vim.submodule, this would be over-engineering
for inspect only, but we expect to use this solution also for more and
larger modules.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Instead of eager-loading during plugin/* sourcing, define runtime
modules such as `vim.inspect` as lazy builtins. Otherwise non-builtin
Lua modules such as `vim.inspect` would not be available during startup
(init.vim, `-c`, `--cmd`, …).
ref #6580
ref #8677
|
|/ /
| |
| |
| |
| | |
ref #6580
ref #8677
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Move `has_eval_provider()` check to `eval_call_provider()` to make sure that
every code path calls it first.
Previously we would, when pynvim was missing, get a nice error message for
`:python3 1`, but not for `:py3file blah`.
Fixes https://github.com/neovim/neovim/issues/9485
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: When 'rnu' is set folded lines are not displayed correctly.
(Vitaly Yashin)
Solution: When only redrawing line numbers do draw folded lines.
(closes vim/vim#3484)
https://github.com/vim/vim/commit/7701f308565fdc7b5096a6597d9c3b63de0bbcec
---
Explanation:
Before this patch, relative line numbers would update on a cursor
movement and overwrite fold highlighting in the line number columns.
Other operations can cause the fold highlighting to overwrite the line
number styles. Together, this causes the highlighting in the line number
columns to flicker back and forth while editing.
Test case: create `t.vim` with these contents:
set fdm=marker rnu foldcolumn=2
call setline(1, ["{{{1", "nline 1", "{{{1", "line 2"])
and then call `nvim -u NORC -S t.vim` and press `j`; observe that the fold
highlighting disappears.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There is no need to call update_screen() directly in an API function,
mode input processing invokes update_screen() as needed. And if the API
call is done in a context where redraw is disabled, then redraw is
disabled for a reason. A lot of API functions are of equal semantical
strength (nvim_call_function and nvim_execute_lua can also do whatever,
nvim_command is not special), this inconsistency has no purpose.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Decide whether to highlight the visual-selected character under the
cursor, depending on 'guicursor' style:
- Highlight if cursor is blinking or non-block (vertical, horiz).
- Do NOT highlight if cursor is non-blinking block.
Traditionally Vim's visual selection does "reverse mode", which perhaps
conflicts with the non-blinking block cursor. But 'guicursor' defaults
to a vertical bar for selection=exclusive, and this confuses users who
expect to see the text highlighted.
closes #8983
|
|\ \
| | |
| | | |
Multigrid: fix popupmenu position + some cleanup
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Mark a few more functionaltests as fragile
|
| | |
| | |
| | |
| | | |
fragile
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|/ /
| |
| |
| | |
make Screen explicitly tied to its session
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Besides the "visible" improvements, this release features numerous
internal improvements to the UI/screen code and test infrastructure.
Numerous patches were merged from Vim, which are not mentioned below.
FEATURES:
07ad5d71ab97 clipboard: Support custom VimL functions #9304
725da1feeb9a #9401 win/TUI: Improve terminal/console support
7a8dadbedb0b #9077 startup: Use $XDG_CONFIG_DIRS/nvim/sysinit.vim if it exists
feec926633e3 #9299 support <cmd> mapping in more places
0653ed63a508 #9028 diff/highlight: Show underline for low-priority CursorLine
bddcbbb5716a signs: Add "numhl" argument #9113
05f9c7c2f7f5 clipboard: support Wayland (#9230)
14ae394532aa #9052 TUI: add support for undercurl and underline color
4fa3492a6fcb #9023 man.vim: soft (dynamic) wrap #9023
API:
8b39e4ec7933 #6920 API: implement object namespaces
b1aaa0a881ef API: Implement nvim_win_set_buf() #9100
8de87c7b1ca0 #8180 API: virtual text annotations (nvim_buf_set_virtual_text)
2b9fc9a13f14 #8660 API: add nvim_buf_is_loaded()
API: buf_get_lines, buf_line_count handle unloaded buffers
88f77c28e52a API: nvim_buf_get_offset_for_line
94841e5eaebc API/UI: #8221 ext_newgrid, ext_hlstate
(use line-based rather than char-based updates)
UI
b5cfac089409 #8806 TUI: use BCE again more often, (smoother resizes/scrolling)
77b5e9ae25fc #9315 screen: add missing status redraw when redraw_later(CLEAR) was used
5f15788dc3ac TUI: clip invalid regions on resize (#8779), fixes #8774
c936ae0f3688 #9193 TUI: improvements for scrolling and clearing
f20427451e7f #9143 UI: disable clearing almost everywhere
f4b2b6666189 #9079 TUI: always use safe cursor movement after resize
d36afafc8dc7 #9211 ui_options: also send when starting or from OptionSet
67f80d485cec TUI: Avoid reset_cursor_color in old VTE #9191
e55ebae37340 #9021 don't erase screen on `:hi Normal` during startup
c5790d91897c #8915 TUI: Hint wrapped lines to terminals.
FIXES:
231de7253982 RPC: turn errors from async calls into notifications
907ad921bc2f TUI: Restore terminal title via "title stacking" (#9407)
cb76a8a95f3a genappimage: Unset $ARGV0 at invocation #9376
b48efd9ba7bf #9347 TUI: FreeBSD: Improve support for BSD vt console
c16529afa5c8 TUI: Konsole 18.07.70 supports DECSCUSR (#9364)
aec096fc5b8a os/lang: use the correct LC_NUMERIC also for OS X
5fee0be91552 provider: improve error message (#9344)
3c42d7a10a04 TUI: alacritty supports set_cursor_color #9353
7bff9a5de842 TUI: Alacritty supports DECSCUSR (#9048)
57acfceabeb3 macOS: infer primary language if $LANG is empty #9345
bc132ae123d4 runtime/syntax: Fix highlighting of augroup contents (#9328)
715fdfee1ed5 #9297 VimL/confirm(): Show dialog even if :silent
799d9c32157c clipboard: Prefer xclip (#9302)
6dae7776ed0d provider/nodejs: fix npm,yarn detection
16bc1e9c1782 #9218 channel: avoid buffering output when only terminal and no callbacks are active
72fecad1ffe3 #8804 Fix crash in lang_init() on macOS if lang_region = NULL
d58139877990 ruby: detect rbenv shims for other versions (#8733)
e568ac7a68d3 #9123 third-party/unibilium: Fix parsing of extended capability entries
c4c74c3883aa jobstart(): Fix hang on non-executable cwd #9204
1cf50cbfd9b7 provider/nodejs: Simultaneously query npm and yarn #9054
6c496db4b75e undo: Fix infinite loop if undo_read_byte returns EOF #2880
f8f83579ff42 #9034 'swapfile: always show dialog'
CHANGES:
c236e80cf3df #9024 --embed: wait for UI unless --headless
180b50dddc26 #9248 python: 'neovim' module was renamed to 'pynvim'
2000b6a64a9c #8589 VimL: Remove legacy aliases "v:errmsg", "v:shell_error", "v:this_session"
deb18a050ef5 defaults: background=dark #2894 (#9205)
c1187d4af013 defaults: win: 'shellpipe' for cmd.exe (#8827)
|
|\ \ |
|
| | | |
|
| | |
| | |
| | |
| | | |
- CMake features
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Packadd test fails on MS-Windows.
Solution: Ignore difference between forward and backward slashes.
https://github.com/vim/vim/commit/53c8a478cc4265549597b00214e0da812154742e
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: An "after" directory of a package is appended to 'rtp', which
will be after the user's "after" directory. ()
Solution: Insert the package "after" directory before any other "after"
directory in 'rtp'. (closes vim/vim#3409)
https://github.com/vim/vim/commit/99396d4cbf78d313a454c7448acc07412d2e45b7
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Package directory not added to 'rtp' if prefix matches.
Solution: Check the match is a full match. (Ozaki Kiichi, closes vim/vim#2817)
Also handle different ways of spelling a path.
https://github.com/vim/vim/commit/f98a39ca57d001ba3e24831bae1e375790fb41f0
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Problem: When package path is a symlink adding it to 'runtimepath' happens
at the end.
Solution: Do not resolve symlinks before locating the position in
'runtimepath'. (Ozaki Kiichi, closes vim/vim#2604)
https://github.com/vim/vim/commit/2374faae111057ee28e8d487f9a52a95855e2206
|