neovim/runtime
Sean Dewar 6b4970f6e0
feat(api): allow open_win/win_set_buf in the cmdwin in some cases
Problem: As discussed on Matrix, there was some interest in having
`nvim_open_win` again be able to open floats in the cmdwin (e.g: displaying a
hover doc related to what's in the cmdwin). After #23228, this was disallowed.

Solution: Allow `nvim_open_win` in the cmdwin as long as `!enter` and
`buffer != curbuf` (the former can cause all sorts of issues, and the latter
can crash Nvim after closing cmdwin). Also allow `nvim_win_set_buf` in a similar
fashion.

Note that we're not *entirely* sure if this is 100% safe (cmdwin is a
global-state-using-main-loop-calling beast), but this seems to work OK..?

Also:
  - Check the buffer argument of `nvim_open_win` earlier, and abort if it's
    invalid (it used to still open a window in this case).

  - Untranslate `e_cmdwin` errors in the API (other errors in the API are not
    translated: although not detailed in the API contract yet, errors are
    supposed to be stable).
2023-07-26 20:44:46 +01:00
..
autoload fix(clipboard): ignore exit caused by signal #23378 2023-07-16 04:15:30 -07:00
colors vim-patch:71badf9547e8 (#23285) 2023-04-23 15:22:55 +02:00
compiler vim-patch:86b4816766d9 (#21314) 2022-12-08 16:33:38 +01:00
doc feat(api): allow open_win/win_set_buf in the cmdwin in some cases 2023-07-26 20:44:46 +01:00
ftplugin vim-patch:10e8ff9b2607 (#23977) 2023-06-11 12:40:22 +01:00
indent vim-patch:9.0.1580: CI: indent test hangs on FreeBSD (#23768) 2023-05-26 22:13:42 +08:00
keymap
lua fix(gen_vimfn_types): don't include tag before signature's line (#24492) 2023-07-26 21:07:39 +08:00
macros
pack/dist/opt vim-patch:9.0.1671: Termdebug: error with more than 99 breakpoints (#24194) 2023-06-29 07:04:46 +08:00
plugin fix(gx): move to to _init_default_mappings #24420 2023-07-24 08:35:19 -07:00
queries fix(treesitter): update markdown parser and queries (#24429) 2023-07-22 19:57:58 +02:00
spell
syntax fix(runtime): respect 'rtp' order for all runtime files (#24335) 2023-07-14 06:46:16 +08:00
tools vim-patch:e80086446cc2 (#19848) 2022-08-20 10:04:55 +02:00
tutor fix(tutor): don't use concealed text in expected lines #24316 2023-07-11 10:09:44 -07:00
CMakeLists.txt refactor(build): move the last generator from scripts/ to src/nvim/generators 2023-04-21 16:46:35 +02:00
delmenu.vim vim-patch:9.0.0141: "delmenu" does not remove autocmmands (#19646) 2022-08-05 12:23:41 +02:00
filetype.lua fix(runtime): respect 'rtp' order for all runtime files (#24335) 2023-07-14 06:46:16 +08:00
ftoff.vim
ftplugin.vim fix(runtime): respect 'rtp' order for all runtime files (#24335) 2023-07-14 06:46:16 +08:00
ftplugof.vim
indent.vim fix(runtime): respect 'rtp' order for all runtime files (#24335) 2023-07-14 06:46:16 +08:00
indoff.vim
macmap.vim
makemenu.vim
menu.vim vim-patch:b7398fe41c9e (#23627) 2023-05-15 09:38:32 +02:00
mswin.vim feat(ex_cmds)!: remove :behave 2023-04-13 12:15:30 +02: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.9.0 2023-04-07 13:26:29 +02:00
nvim.desktop build(nvim.desktop): central Kurdish translation #17065 2022-05-13 11:58:22 -07:00
nvim.png
optwin.vim vim-patch:9.0.0640: cannot scroll by screen line if a line wraps 2023-05-02 13:11:26 +02:00
synmenu.vim vim-patch:3c053a1a5ad2 (#20679) 2022-10-17 08:19:48 +02:00