| Commit message (Collapse) | Author | Age |
|
|
| |
Fixes https://github.com/neovim/neovim/issues/9892
|
| |
|
|
|
|
|
|
|
| |
Reverts d2944e6a298e. mf_open() _can_ fail if the file does not exist.
closes #9503
closes #9504
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
fragile
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
This was broken in #9369 (4680ca2)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ref #9280
Introduce the `vim.compat` module, to help environments with system Lua
5.2+ run the build/tests. Include the module implicitly in all tests.
ref #8677
legacy `vim` module:
beep
buffer
command
dict
eval
firstline
lastline
line
list
open
type
window
|
|
|
|
|
| |
Make the code run both on Lua 5.1 (which is the default for Neovim, and
is what LuaJIT provides) and Lua 5.2+.
|
|
|
|
| |
Closes #8994
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In Vim (and some vestigial parts of Nvim) E319 was a placeholder for
ex_ni commands, i.e. commands that are only available in certain builds
of Vim. That is obviously counter to Nvim's goals: all Nvim commands
are available on all platforms and build types (the remaining ex_ni
commands are actually just missing providers).
We need an error id for "missing provider", so it makes sense to use
E319 for that purpose.
ref #9344
ref #3577
|
|
|
|
|
|
|
|
| |
Problem: Parsing of 'diffopt' is slightly wrong.
Solution: Fix the parsing and add a test. (Jason Franklin, Christian
Brabandt)
https://github.com/vim/vim/commit/b6fc72851c45a36a370f9516c68508e47b41c4c1
|
|
|
|
|
|
|
| |
Problem: Not all white space difference options available.
Solution: Add "iblank", "iwhiteall" and "iwhiteeol" to 'diffopt'.
https://github.com/vim/vim/commit/785fc6567f572b8caefbc89ec29bbd8b801464ae
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Using an external diff program is slow and inflexible.
Solution: Include the xdiff library. (Christian Brabandt)
Use it by default.
https://github.com/vim/vim/commit/e828b7621cf9065a3582be0c4dd1e0e846e335bf
vim-patch:8.1.0360
vim-patch:8.1.0364
vim-patch:8.1.0366
vim-patch:8.1.0370
vim-patch:8.1.0377
vim-patch:8.1.0378
vim-patch:8.1.0381
vim-patch:8.1.0396
vim-patch:8.1.0432
|
|
|
|
|
| |
- misc
- doc: `:help config`. closes #9329
- cleanup test/README.md
|
| |
|
| |
|
|
|
|
|
| |
Previously, nvim sent a response with invalid request id (UINT64_MAX).
In functionaltests, catch unexpected error notifications in after_each().
|
|
|
|
|
|
|
|
|
|
|
|
| |
Up to now g:clipboard["copy"] only supported string values invoked as
system commands.
This commit enables the use of VimL functions instead. The function
signatures are the same as in provider/clipboard.vim. A clipboard
provider is expected to store and return a list of lines (i.e. the text)
and a register type (as seen in setreg()).
cache_enabled is ignored if "copy" is provided by a VimL function.
|
|\ |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Expression evaluation may repeat an error message. (Jason
Franklin)
Solution: Increment did_emsg and check for the value when giving an error
for the echo command.
https://github.com/vim/vim/commit/76a6345433bc2a600689397fb28165a2e5793720
|
| |
| |
| |
| |
| | |
closes #8788
related #9034
|
|/ |
|
|
|
|
|
|
|
| |
terminal_get_line_attributes() had this bug for a long time, though it
likely had no effect visible to users.
ref #9028
ref 60f845ca55a1
|
|
|
|
|
| |
We want a single function to clear all namespaced buffer objects. This
will later include extmarks.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- develop.txt is for design/guidelines; architecture/concepts should
live elsewhere (currently src/nvim/README.md)
- move dev-jargon to intro.txt
- replace https://neovim.io/community (deprecated) with
https://neovim.io/#chat
- <Cmd> avoids CmdlineEnter/Leave
https://github.com/vim/vim/issues/2889
|
|/
|
|
| |
ref #9028
ref 0653ed63a508
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
closes #9274
ref #9028
If stdin closed then read_error_exit calls preserve_exit. Handling
SIGHUP during preserve_exit would cause a premature teardown, and
conflicts with e.g. ui_bridge_stop which waits for TUI to teardown.
Vim ignores SIGHUP in its prepare_to_exit and getout_preserve_modified
routines:
/* Ignore SIGHUP, because a dropped connection causes a read error, which
* makes Vim exit and then handling SIGHUP causes various reentrance
* problems. */
signal(SIGHUP, SIG_IGN);
|
| |
|
|
|
|
| |
closes #9100
|
|
|
|
|
|
|
|
|
| |
Namespaces is a lightweight concept that should be used to group
objects for purposes of bulk operations and introspection. This is
initially used for highlights and virtual text in buffers, and is
planned to also be used for extended marks. There is no plan use them
for privileges or isolation, neither to introduce nanespace-level
options.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
By historical accident, Nvim defaults to background=light. So on a dark
background, `:colorscheme default` looks completely wrong.
The "smart" logic that Vim uses is confusing for anyone who uses Vim on
multiple platforms, so rather than mimic that, pick the (hopefully) most
common default.
- Since Neovim is dark-powered, we assume most users have dark backgrounds.
- Most of the GUIs tend to have a dark background by default.
ref #6289
|
|\
| |
| | |
unit/mbyte_spec: Run utf_char2bytes test in batches of 0xFFF characters
|