| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
| |
We don't want to retry autoload sourcing (slow) for every random has()
query that finds it way to eval_call_provider().
|
|
|
|
|
| |
Value of 1 cannot be used, because users might set that in their vimrc
to _disable_ a provider, which would confuse :checkhealth and has().
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of deciding provider status in eval_has_provider, move the
decision to the provider Vim scripts.
Previously, provider loading worked as follows:
1. eval_has_provider() verified provider availability by searching for
the provider#providername#Call function and cached this verificaion as a static
variable for some providers
2. providers short-circuited on loading to prevent the definition of the
Call function (with the exception of the node provider that did not)
This commit changes the expected interface between nvim and its
providers to facilitate provider reloading, by splitting the
verification of the provider from the availability of the Call function.
eval_has_provider() now checks for a provider#providername#enabled
variable. It is up to the provider script to set this to 0 or 1
accordingly. eval_call_provider() remains unchanged.
All providers hosting a Call function were updated to respect this.
The clipboard provider now has a Reload function to reload the
provider.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Windows: In order for jobstart(['foo']), system(['foo']) to find
"foo.cmd", we must replace "foo" with "foo.cmd" before sending `argv` to
process_spawn().
Rationale: jobstart([…]), system([…]) "executable" semantics should be
consistent with the VimL executable() function.
fix #9569
related: #10554
|
|
|
|
|
|
| |
Typically most shell output is the result of non-trivial work, so it
would not blast stdout instantaneously. To more closely simulate that
typical scenario, change `shell-test REP` to wait 1 millisecond between
iterations.
|
|
|
| |
fix #10534
|
|
|
|
|
|
|
| |
Also fix V576: use width specification
> Incorrect format. Consider checking the third actual argument of the
> 'sscanf' function. It's dangerous to use string specifier without width
> specification. Buffer overflow is possible.
|
|
|
|
| |
Use it to improve ls_spec: it should not use the user's real shell for
performance and other reasons.
|
|
|
|
|
| |
- position might get invalid with "longest" match
- position might be wrong when completed pattern ends in "/"
|
|
|
|
|
|
|
|
| |
Note: the test fails on non-Windows CI (Travis linux, Quickbuild bsd):
even on master before the env.c changes in this patch-series.
Maybe the unix part of printenv-test.c needs to be revisited.
Signed-off-by: Justin M. Keyes <justinkz@gmail.com>
|
|
|
|
|
|
|
| |
ref #343
Though I don't see a strong benefit, it isn't too much of a burden, and
maybe avoids confusion in some cases.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FEATURES:
3cc7ebf8107b #7234 built-in VimL expression parser
6a7c90464882 #4419 implement <Cmd> key to invoke command in any mode
b8363283faac #7679 'startup: treat stdin as text instead of commands'
58b210e1146f :digraphs : highlight with hl-SpecialKey #2690
7a13611ba203 #8276 'startup: Let `-s -` read from stdin'
1e71978cf032 events: VimSuspend, VimResume #8280
1e7d5e8cdf98 #6272 'stdpath()'
f96d99ad1118 #8247 server: introduce --listen
e8c39f72fdf1 #8226 insert-mode: interpret unmapped META as ESC
98e71123900f msg: do not scroll entire screen (#8088)
f72630b78429 #8055 let negative 'writedelay' show all redraws
5d2dd2ebe28c win: has("wsl") on Windows Subsystem for Linux #7330
a4f6cec7a31f cmdline: CmdlineEnter and CmdlineLeave autocommands (#7422)
207b7ca4bc16 #6844 channels: support buffered output and bytes sockets/stdio
API:
f85cbea725b4 #7917 API: buffer updates
418abfc9d069 #6743 API: list information about all channels/jobs.
36b2e3f743aa #8375 API: nvim_get_commands
273d2cd5d5cf #8329 API: Make nvim_set_option() update `:verbose set …`
8d40b3617c8b #8371 API: more reliable/descriptive VimL errors
ebb1acb3c083 #8353 API: nvim_call_dict_function
9f994bb69925 #8004 API: nvim_list_uis
34057045beca #7520 API/UI: forward option updates to UIs
911b1e49abb8 #7821 API: improve nvim_command_output
WINDOWS OS:
9cefd83cc7b9 #8084, #8516 build/win: support MSVC
ee4e1fd8ecf1 win: Fix reading content from stdin (#8267)
TUI:
ffb89049131a #8309 TUI: add support for mouse release events in urxvt
8d5a46e77b1e #8081 TUI: implement "standout" attribute
60716371e97d TUI: support TERM=konsole-256color
67848c0b916c #7653 TUI: report TUI info with -V3 ('verbose' >= 3)
3d0ee17c916e TUI/rxvt: enable focus-reporting
d109f5645bac #7640 TUI: 'term' option: reflect effective terminal behavior
FIXES:
ed6a113804a2 #8273 'job-control: avoid kill-timer race'
4e02f1ab871f #8107 'jobs: separate process-group'
451c48a09265 terminal: flush vterm output buffer on pty output #8486
5d6732ff094a :checkhealth fixes #8335
53f11dcfc713 #8218 'Fix errors reported by PVS'
d05712fbe7b5 inccommand: pause :terminal redraws (#8307)
51af911a271e inccommand: do not execute trailing commands #8256
84359a467f21 terminal: resize to the max dimensions (#8249)
d49c1dda8bf5 #8228 Make vim_fgets() return the same values as in Vim
60e96a45b4f4 screen: winhl=Normal:Background should not override syntax (#8093)
0c59ac1a2c7e #5908 'shada: Also save numbered marks'
ba87a2cde779 cscope: ignore EINTR while reading the prompt (#8079)
b1412dc412e1 #7971 ':terminal Enter/Leave should not increment jumplist'
3a5721e91ba8 TUI: libtermkey: force CSI driver for mouse input #7948
6ff13d78b7eb #7720 TUI: faster startup
1c6e95607958 #7862 TUI: fix resize-related segfaults
a58c9094db0e #7676 TUI: always hide cursor when flushing, never flush buffers during unibilium output
303e1df13f4f #7624 TUI: disable BCE almost always
249bdb07dd3a #7761 mark: Make sure that jumplist item will not have zero lnum
6f41ce026005 #7704 macOS: Set $LANG based on the system locale
a043899ba255 #7633 'Retry fgets on EINTR'
CHANGES:
ad60927d0925 #8304 default to 'nofsync'
f3f197059721 #8035 defaults: 'fillchars'
a6052c730741 #7984 defaults: sidescroll=1
b69fa866db5b #7888 defaults: enable cscopeverbose
7c4bb23ff38a defaults: do :filetype stuff unless explicitly "off"
2aa308c6852b #5658 'Apply :lmap in macros'
8ce63930484f terminal: Leave 'relativenumber' alone (#8360)
e46534b42302 #4486 refactor: Remove maxmem, maxmemtot options
131aad953c00 win: defaults: 'shellcmdflag', 'shellxquote' #7343
c57d31596370 #8031 jobwait(): return -2 on interrupt also with timeout
6452831cf985 clipboard: macOS: fallback to tmux if pbcopy is broken #7940
300d3651e295 #7919 Make 'langnoremap' apply directly after a map
ada1956206be #7880 'lua/executor: Remove lightuserdata'
INTERNAL:
de0a9548f7bf #7806 internal statistics for list impl
dee78a4095a2 #7708 rewrite internal list impl
|
| |
|
|
|
|
|
| |
MSVC doesn't have unistd.h or usleep() so it was replaced with the
Sleep() WinAPI function.
|
| |
|
|
|
|
| |
Also update existing tests for new (vim-compatible) newline behavior
|
| |
|
|
|
|
| |
ULONG on Windows.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FEATURES:
0e873a30f307 Lua(Jit) built-in #4411
5b32bce73c93 Windows: `:terminal` #7007
7b0ceb3726e6 UI/API: externalize cmdline #7173
b67f58b2845a UI/API: externalize wildmenu #7454
b23aa1cf099e UI: 'winhighlight' #6597
17531ed0825c UI: command-line coloring (`:help input()-highlight`) #6364
244a1f97db6d API: execute lua directly from the remote api #6704
45626de63f2b API: `get_keymap()` #6236
db999821d45c API: `nvim_get_hl_by_name()`, `nvim_get_hl_by_id()` #7082
dc685387a3d6 menu_get() function #6322
9db42d4ce99c :cquit : take an error code argument #7336
9cc185dc6d9d job-control: serverstart(): support ipv6 #6680
1b7a9bf4d202 job-control: sockopen() #6594
6efe84af6813 clipboard: fallback to tmux clipboard #6894
6016ac270f54 clipboard: customize clipboard with `g:clipboard` #6030
3a86dd54f387 ruby: override ruby host via `g:ruby_host_prog` #6841
16cce1ac1745 debug: $NVIM_LOG_FILE #6827
0cba3da26e46 `:checkhealth` built-in, validates $VIMRUNTIME #7399
FIXES:
105d680aea9f TUI: more terminals, improve scroll/resize #6816
cb912a3edaad :terminal : handle F1-F12, other keys #7241
619838f85da2 inccommand: improve performance #6949
04b3c3277235 inccommand: Fix matches for zero-width #7487
60b1e8ad1237 inccommand: multiline, other fixes #7315
f1f7f3b5123e inccommand: Ignore leading modifiers in the command #6967
1551f7132152 inccommand: fix 'gdefault' lockup #7262
6338199b76e6 API: bufhl: support creating new groups #7414
541dde36e330 API: allow K_EVENT during operator-pending
8c732f727414 terminal: adjust for 'number' #7440
5bec94652c9d UI: preserve wildmenu during jobs/events #7110
c349083155cc UI: disable 'lazyredraw' during ui_refresh. #6259
51808a244eca send FocusGained/FocusLost event instead of pseudokey #7221
133f8bc628c2 shada: preserve unnamed register on restart #4700
1b70a1da0438 shada: avoid assertion on corrupt shada file #6958
9f534f338adf mksession: Restore tab-local working directory #6859
de1084f3c488 fix buf_write() crash #7140
7f7698649fc1 syntax: register 'Normal' highlight group #6973
6e7a8c3fe282 RPC: close channel if stream was closed #7081
85f3084e21e1 clipboard: disallow recursion; show hint only once #7203
8d1ccb606d38 clipboard: performance, avoid weird edge-cases #7193
01487d4385ae 'titleold' #7358
01e53a5cbe67 Windows: better path-handling, separator (slash) hygiene #7349
0f2873ce9943 Windows: multibyte startup arguments #7060
CHANGES:
9ff0cc70855f :terminal : start in normal-mode #6808
032b088c8485 lower priority of 'cursorcolumn', 'colorcolumn' #7364
2a3bcd1ff883 RPC: Don't delay notifications when request is pending #6544
023f67cad8d6 :terminal : Do not change 'number', 'relativenumber' #6796
1ef2d768e719 socket.c: Disable Nagle's algorithm on TCP sockets #6915
6720fe253e92 help: `K` tries Vim help instead of manpage #3104
70683705603e help, man.vim: change "outline" map to `gO` #7405
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
start_batch_changes() doesn't avoid invoking the clipboard
once-per-line, because the loop is actually in ex_echo(), which calls
redir_write() for each message. But we've already entered
start_batch_changes() by then, so that was never the problem.
redir_write at /home/vagrant/old.neovim/build/../src/nvim/message.c:2523
msg_puts_attr_len at /home/vagrant/old.neovim/build/../src/nvim/message.c:1600
msg_outtrans_len_attr at /home/vagrant/old.neovim/build/../src/nvim/message.c:1221
ex_echo at /home/vagrant/old.neovim/build/../src/nvim/eval.c:19433
do_one_cmd at /home/vagrant/old.neovim/build/../src/nvim/ex_docmd.c:2242
Trying to defer _explicit_ clipboard updates is difficult.
:redir @+ | silent echo system('cat foo') | redir END
is essentially equivalent to:
for l in readfile('foo')
let @+ .= l
endfor
We cannot make judgements about when to ignore a script's bad decisions.
start_batch_changes() only works around the case of clipboard=unnamed,
i.e. _implicit_ clipboard updates (`:g/foo/d`). Not explicit
assignment.
|
|
|
|
|
| |
Now the window_split_tab_spec.lua test seems to work.
Also do some cleanup.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
tty-test.exe causes abnormal termination with low repeatability, try
changing it so as not to use SIGWINCH.
|
| |
|
|
|
|
|
|
|
|
| |
During a preview, we can stop looking for matches after we got enough
lines for the preview buffer.
Because of this perf improvement, the 'redrawtime' test needs to be
slowed down in a different way: _long_ lines instead of just many lines.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FEATURES:
bc4a2e1576c6 help, man.vim: "outline" (TOC) feature #5169
58422f17d8e7 'guicursor' works in the TUI (and sends info to UIs) #6423
129f107c0c26 api: nvim_get_mode() #6247
0b59f988f447 api/ui: externalize tabline #6583
bc6d868d00a7 'listchars': `Whitespace` highlight group #6367
6afa7d66cd63 writefile() obeys 'fsync' option #6427
c60e409471c5 eval.c refactor (also improves some error messages) #5119
9d200cd0a3ef getcompletion("cmdline") #6376
2ea7bfc627e5 terminal: Support extra arguments in 'shell'. #4504
bf5110266ca9 DirChanged autocmd #5928 #6262
1743df82f900 'cpoptions': "_" flag to toggle `cw` behaviour #6235
22337b1c0144 CTRL-R omits trailing ^M when pasting to cmdline #6137
0e44916fff88 :edit allows unescaped spaces in filename #6119
abdbfd26bc7f eval: Add id() function and make printf("%p") useful #6095
bdfa1479d296 findfile(), :find, gf work in :terminal. #6009
2f38ed11c98a providers: Disable if `g:loaded_*` exists.
b5560a69b12b setpos() can set lowercase marks in other buffers #5753
7c513d646d87 Throttle :! output, pulse "..." message. #5396
d2e8c76dc224 v:exiting #5651
:terminal improvements #6185 #6142
- cursor keeps position after leaving insert-mode.
- 4ceec30cd0b4 Follows output only if cursor is at end of buffer.
- e7bbd35c812d new option: 'scrollback'
- fedb8443d58a quasi-support for undo and 'modifiable'
- b45ddf731be5 disables 'list' by default
- disables 'relativenumber' by default
:help now contains full API documentation at `:help api`.
man.vim saw numerous improvements.
Windows support:
- Windows is no longer "experimental", it is fully supported.
- Windows package includes a GUI, curl.exe and other utilities.
"Vim 8" features: partials, lambdas.
SECURITY FIXES:
CVE-2017-5953 CVE-2017-6349 CVE-2017-6350 #6485
CHANGES:
NVIM_TUI_ENABLE_CURSOR_SHAPE was removed. Use 'guicursor' instead.
See https://github.com/neovim/neovim/wiki/Following-HEAD#20170402
81525dc5c35c 'mouse=a' is no longer the default. (This will probably
change again after it is improved.) #6022
0c1f7831649e defaults: 'showcmd', 'belloff', 'ruler' #6087
eb0e94f71b1f api: {get,set}_option update local options as appropriate #6405
bdcb2a38b366 "Reading from stdin..." message was removed. #6298
FIXES:
12fc1defd6a1 ops: fix i<c-r> with multi-byte text #6524
dd391bfca1f3 Windows: system() and friends #6497
13352c00f190 Windows: os_get_hostname() #6413
16babc66870b tui: Less-noisy mouse seqs #6411
3a9dd13f9e64 (vim bug) folding edge-cases #6207
f6946c68aee9 job-control: set CLOEXEC on pty processes. #5986
d1afd434f302 rplugin: Call s:LoadRemotePlugins() on startup.
1215084676f0 backtick-expansion works with `shell=fish` #6224
e32ec03d67ee tui: Improved behavior after resize. #6202
86c2adc07463 edit.c: CTRL-SPC: Insert previously-inserted text. #6090
c318d8e672a3 b:changedtick now follows VimL rules #6112
34e24cb2f734 terminal: Initialize colors in reverse order #6160
e8899178ec34 undo: Don't set b_u_curhead in ex_undojoin() #5869
d25649fa0120 undo: :earlier, g-: Set b_u_seq_cur correctly. (#6016)
043d8ba422b4 'Visual-mode put from @. register' #5782
42c922b32c0a open_buffer(): Do `BufEnter` for directories.
50d0d891299c inccommand: Preview :sub commands only after delimiter #5932
1420e1047454 CheckHealth improvements #5519
c8d5e9230ee3 jobstart(): Return -1 if cmd is not executable. #5671
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tokenize p_sh if used as default in ex_terminal(). Previously p_sh was
used as the first arg in a list when calling termopen(), this would try
to call an untokenized version of shell, meaning if you had an argument
in 'shell':
set shell=/bin/bash\ --login
the command would fail.
Helped-by: oni-link <knil.ino@gmail.com>
Closes #3999
|
| |
|
| |
|
|
|
|
| |
Closes #5465
|
|
|
|
| |
Closes #5727
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
API level is disconnected from NVIM version. The API metadata holds the
current API level, and the lowest backwards-compatible level supported
by this instance.
Release 0.1.6 is the first release that reports the Nvim version and API
level.
metadata['version'] = {
major: 0,
minor: 1,
patch: 6,
api_level: 1,
api_compatible: 0,
api_prerelease: false,
}
The API level may remain unchanged across Nvim releases if the API has
not changed.
When changing the API,
- set NVIM_API_PRERELEASE to true
- increment NVIM_API_LEVEL (at most once per Nvim version)
- adjust NVIM_API_LEVEL_COMPAT if backwards-compatibility was broken
api_level_0.mpack was generated from Nvim 0.1.5 with:
nvim --api-info
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The API level is disconnected from the NVIM version. The API metadata
holds the current API level, and the lowest backwards-compatible level
supported by this instance.
Release 0.1.6 will be the first release reporting the Nvim version and
API level.
metadata['version'] = {
major: 0,
minor: 1,
patch: 6,
prerelease: true,
api_level: 1,
api_compatible: 0,
}
The API level may remain unchanged across Neovim releases if the API has
not changed.
When changing the API the CMake variable NVIM_API_PRERELEASE is set to
true, and NVIM_API_CURRENT/NVIM_API_COMPATIBILITY are incremented
accordingly.
The functional tests check the API table against fixtures of past
versions of Neovim. It compares all the functions in the old table with
the new one, it does ignore some metadata attributes that do not alter
the function signature or were removed since 0.1.5. Currently the only
fixture is 0.mpack, generated from Neovim 0.1.5 with nvim --api-info.
|
|
|
|
|
|
|
|
|
| |
To healthcheck the "foo" plugin:
:CheckHealth foo
To healthcheck the "foo" and "bar" plugins:
:CheckHealth foo bar
To run all auto-discovered healthchecks:
:CheckHealth
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Helped-By: Justin M. Keyes <justinkz@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Old behaviour: termopen('cmd') would run `&shell &shcf "cmd"`, which
caused the functional tests to fail on some systems due to the process
not "owning" the terminal. Also, it is inconsistent with jobstart().
Modify termopen() so that &shell is not invoked, but maintain the old
behaviour with :terminal. Factor the common code for building the
argument vector from jobstart() and modify the functional tests to call
termopen() instead of :terminal (fixes #2354).
Also:
* Add a 'name' option for termopen() so that `:terminal {cmd}` produces
a buffer named "term//{cwd}/{cmd}" and termopen() users can customize
the name.
* Update the documentation.
* Add functional tests for `:terminal` sinse its behaviour now differs
from termopen(). Add "test/functional/fixtures/shell-test.c" and move
"test/functional/job/tty-test.c" there, too.
Helped-by: Justin M. Keyes <@justinmk>
|