neovim/runtime
Sean Dewar 77118d0da8
fix(api): use text_locked() to check textlock
Problem: some API functions that check textlock (usually those that can change
curwin or curbuf) can break the cmdwin.

Solution: make FUNC_API_CHECK_TEXTLOCK call text_locked() instead, which already
checks for textlock, cmdwin and `<expr>` status.

Add FUNC_API_TEXTLOCK_ALLOW_CMDWIN to allow such functions to be usable in the
cmdwin if they can work properly there; the opt-in nature of this attribute
should hopefully help mitigate future bugs.

Also fix a regression in #22634 that made functions checking textlock usable in
`<expr>` mappings, and rename FUNC_API_CHECK_TEXTLOCK to FUNC_API_TEXTLOCK.
2023-07-05 08:31:52 +01:00
..
autoload feat(defaults): set g:netrw_use_errorwindow = 0 #24179 2023-06-29 14:14:14 -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 fix(api): use text_locked() to check textlock 2023-07-05 08:31:52 +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(lsp): revert change to buf.clear_references() #24238 2023-07-04 05:30:31 -07: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 vim-patch:b7398fe41c9e (#23627) 2023-05-15 09:38:32 +02:00
queries feat(treesitter): add bash parser and queries 2023-07-01 11:28:32 +02:00
spell
syntax vim-patch:10e8ff9b2607 (#23977) 2023-06-11 12:40:22 +01:00
tools vim-patch:e80086446cc2 (#19848) 2022-08-20 10:04:55 +02:00
tutor docs(tutor): fix TODO line demo (#21965) 2023-01-25 09:46:00 +08: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
filetype.lua feat(runtime)!: remove filetype.vim (#20428) 2022-10-17 08:52:40 +02:00
ftoff.vim
ftplugin.vim fix(ftplugin): respect runtimepath ordering 2023-06-25 12:34:30 +02:00
ftplugof.vim
indent.vim
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
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