neovim/runtime
Marcus Caisey c644228e1d
fix(defaults): omit empty line from unimpaired mapping messages (#31347)
Problem:
The default unimpaired mappings display an empty line after the
command's output. This results (with default configuration) in the
`Press ENTER or type command to continue` prompt to be displayed, like
so:
```
(2 of 16): item2

Press ENTER or type command to continue
```

Solution:
The cause is that we're checking the second return value from
`pcall(vim.api.nvim_cmd, opts, {})` to determine whether the call was
successful. `nvim_cmd` returns an empty string on success, so this value
is an empty string in the successful path which we then display.

The fix is simple: check the first return value instead which is the
"status code" of the call.
2024-11-25 16:33:11 -06:00
..
autoload vim-patch:d7745ac: runtime(netrw): Fixing powershell execution issues on Windows (#31333) 2024-11-24 14:46:21 +00:00
colors fix(runtime): clean up one-off scripts 2024-10-15 20:50:21 +02:00
compiler vim-patch:4927dae: runtime(compiler): fix escaping of arguments passed to :CompilerSet 2024-11-20 09:27:36 +01:00
doc fix(lsp): retrigger diagnostics request on server cancellation (#31345) 2024-11-25 11:48:11 -06:00
ftplugin vim-patch:c1e6621: runtime(c3): include c3 filetype plugin 2024-11-24 15:24:08 +01:00
indent docs: misc (#31138) 2024-11-21 06:50:30 +08:00
keymap vim-patch:79a14c0: runtime(keymap): include Georgian keymap 2024-06-14 23:58:27 +02:00
lua fix(defaults): omit empty line from unimpaired mapping messages (#31347) 2024-11-25 16:33:11 -06:00
pack/dist/opt vim-patch:5e7f43b: runtime(termdebug): allow to use decimal signs (#31149) 2024-11-10 09:24:27 +08:00
plugin vim-patch:59834ba: runtime(matchparen): Add matchparen_disable_cursor_hl config option 2024-11-05 08:31:19 +01:00
queries fix(treesitter): update queries 2024-11-22 09:39:45 +01:00
scripts fix(runtime): clean up one-off scripts 2024-10-15 20:50:21 +02:00
spell
syntax vim-patch:ccc024f: runtime(apache): Update syntax directives for apache server 2.4.62 2024-11-24 15:24:08 +01:00
tutor feat(tutor): give hints to satisfy the line checker #30952 2024-10-27 06:50:17 -07:00
CMakeLists.txt fix(runtime): clean up one-off scripts 2024-10-15 20:50:21 +02:00
delmenu.vim vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
filetype.lua refactor: use vim._with where possible 2024-06-28 19:58:31 +02:00
ftoff.vim vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
ftplugin.vim vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
ftplugof.vim vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
indent.vim vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
indoff.vim vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
makemenu.vim vim-patch:9.1.0013: Modula2 filetype support lacking (#27020) 2024-01-16 17:45:57 +00:00
menu.vim vim-patch:a420547: runtime(misc): Use consistent "Vim script" spelling (#30805) 2024-10-14 09:27:29 +08:00
neovim.ico feat(windows): show icon in terminal titlebar, taskbar #20607 2022-10-13 05:48:12 -07:00
nvim.appdata.xml NVIM v0.10.0 2024-05-16 14:34:32 +02:00
nvim.desktop docs: misc (#29719) 2024-08-29 06:11:32 +08:00
nvim.png
optwin.vim vim-patch:9.1.0864: message history is fixed to 200 (#31215) 2024-11-15 08:04:49 +08:00
synmenu.vim vim-patch:9.1.0013: Modula2 filetype support lacking (#27020) 2024-01-16 17:45:57 +00:00
windows_icon.rc feat(win32): embed executable icon 2024-07-02 13:05:16 +02:00