1
mirror of https://github.com/neovim/neovim.git synced 2025-01-02 17:33:28 -07:00
neovim/runtime/doc
Sean Dewar aa4e47f704
fix(api): disallow some more functions during textlock
Problem: nvim_buf_set_text(), nvim_open_term() and termopen() all change buffer
text, which is forbidden during textlock. Additionally, nvim_open_term() and
termopen() may be used to convert the cmdwin buffer into a terminal buffer,
which is weird.

Solution: Allow nvim_buf_set_text() and nvim_open_term() in the cmdwin, but
disallow nvim_open_term() from converting the cmdwin buffer into a terminal
buffer. termopen() is not allowed in the cmdwin (as it always operates on
curbuf), so just check text_locked().

Also happens to improve the error in : nvim_buf_set_text() was callable
during textlock, but happened to check textlock indirectly via u_save();
however, this caused the error to be overwritten by an unhelpful "Failed to
save undo information" message when msg_list == NULL (e.g: an `<expr>` mapping
invoked outside of do_cmdline()).
2023-07-05 08:33:32 +01:00
..
api.txt fix(api): disallow some more functions during textlock 2023-07-05 08:33:32 +01:00
arabic.txt feat(docs): update parser, HTML gen 2022-10-18 07:18:44 -07:00
autocmd.txt docs: autocmds, misc 2023-06-25 17:25:47 +02:00
builtin.txt fix(docs): vimdoc syntax errors 2023-06-26 11:29:12 +02:00
change.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
channel.txt docs 2023-06-19 08:40:33 -07:00
cmdline.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
debug.txt vim-patch:8.1.1306: Borland support is outdated and doesn't work 2019-05-09 20:27:11 -04:00
deprecated.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
dev_style.txt docs: add language annotation to Nvim manual 2022-12-02 16:05:00 +01:00
develop.txt test: spellcheck :help (vimdoc) files 2023-06-22 03:44:51 -07:00
diagnostic.txt docs(diagnostic): return value of get() 2023-06-27 08:14:17 -07:00
diff.txt vim-patch:partial:6f4754b9f725 2023-04-17 15:46:24 +08:00
digraph.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
editing.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
editorconfig.txt docs: fix typos 2023-04-04 19:07:33 +02:00
eval.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
filetype.txt fix(docs): ignore_invalid 2023-06-27 10:21:27 -07:00
fold.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
ft_ada.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
ft_ps1.txt vim-patch:4d8f476176ea () 2021-09-10 08:48:27 +02:00
ft_raku.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
ft_rust.txt vim-patch:partial:6ebe4f970b8b () 2022-10-29 17:41:22 +02:00
ft_sql.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
gui.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
hebrew.txt feat(edit)!: remove old c implementation of hebrew keymap 2023-02-28 15:14:03 +01:00
help.txt test: spellcheck :help (vimdoc) files 2023-06-22 03:44:51 -07:00
helphelp.txt docs: fix misparsed headings () 2023-06-26 11:16:55 +02:00
if_perl.txt test: spellcheck :help (vimdoc) files 2023-06-22 03:44:51 -07:00
if_pyth.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
if_ruby.txt vim-patch:8.2.0578: heredoc for interfaces does not support "trim" 2023-04-29 09:20:52 +08:00
indent.txt fix(docs): vimdoc syntax errors 2023-06-26 11:29:12 +02:00
index.txt fix(docs): ignore_invalid 2023-06-27 10:21:27 -07:00
insert.txt docs 2023-06-19 02:24:44 -07:00
intro.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
job_control.txt docs: small fixes 2023-05-13 21:33:22 +02:00
lsp.txt fix(lsp): revert change to buf.clear_references() 2023-07-04 05:30:31 -07:00
lua-guide.txt fix(docs): ignore_invalid 2023-06-27 10:21:27 -07:00
lua.txt fix(docs): ignore_invalid 2023-06-27 10:21:27 -07:00
luaref.txt docs(luaref): fix tags for constants () 2023-06-30 09:38:28 +08:00
luvref.txt build(deps): bump luv to 1.45.0-0 () 2023-07-02 11:17:23 +02:00
map.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
mbyte.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
message.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
mlang.txt docs: fix/remove invalid URLs 2022-10-14 08:01:13 -07:00
motion.txt fix(docs): vimdoc syntax errors 2023-06-26 11:29:12 +02:00
news-0.9.txt test: spellcheck :help (vimdoc) files 2023-06-22 03:44:51 -07:00
news.txt fix(startup)!: "nvim -l" message does not end with newline 2023-07-01 14:48:12 -07:00
nvim_terminal_emulator.txt vim-patch:9.0.1671: Termdebug: error with more than 99 breakpoints () 2023-06-29 07:04:46 +08:00
nvim.txt docs 2022-12-11 18:41:26 -08:00
options.txt fix(docs): ignore_invalid 2023-06-27 10:21:27 -07:00
pattern.txt fix(docs): vimdoc syntax errors 2023-06-22 10:18:24 +02:00
pi_gzip.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
pi_health.txt fix(health): replace healthFoo with DiagnosticFoo () 2023-05-05 18:15:44 +02:00
pi_msgpack.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
pi_netrw.txt feat(defaults): set g:netrw_use_errorwindow = 0 2023-06-29 14:14:14 -07:00
pi_paren.txt vim-patch:91f84f6e11cd 2018-10-29 09:55:07 +01:00
pi_spec.txt docs: fix treesitter parsing errors 2023-01-01 15:05:13 +01:00
pi_tar.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
pi_tutor.txt
pi_zip.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
provider.txt test: spellcheck :help (vimdoc) files 2023-06-22 03:44:51 -07:00
quickfix.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
quickref.txt fix(docs): vimdoc syntax errors 2023-06-26 11:29:12 +02:00
recover.txt vim-patch:71badf9547e8 () 2023-04-23 15:22:55 +02:00
remote_plugin.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
remote.txt vim-patch:partial:938ae280c79b () 2023-02-21 23:50:29 +08:00
repeat.txt vim-patch:10e8ff9b2607 () 2023-06-11 12:40:22 +01:00
rileft.txt docs: fix treesitter parsing errors 2023-01-01 15:05:13 +01:00
russian.txt docs 2023-06-19 08:40:33 -07:00
scroll.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
sign.txt docs: small fixes 2023-05-13 21:33:22 +02:00
spell.txt vim-patch:10e8ff9b2607 () 2023-06-11 12:40:22 +01:00
starting.txt fix(startup)!: "nvim -l" message does not end with newline 2023-07-01 14:48:12 -07:00
support.txt docs: fix typos 2023-04-04 19:07:33 +02:00
syntax.txt fix(docs): vimdoc syntax errors 2023-06-22 10:18:24 +02:00
tabpage.txt docs: fix typos () 2022-09-26 17:43:23 +08:00
tagsrch.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
term.txt docs: add language annotation to Nvim manual 2022-12-02 16:05:00 +01:00
testing.txt vim-patch:b7398fe41c9e () 2023-05-15 09:38:32 +02:00
tips.txt fix(docs): vimdoc syntax errors 2023-06-26 11:29:12 +02:00
treesitter.txt feat(treesitter): bundle markdown parser and queries () 2023-07-01 11:08:06 +02:00
uganda.txt vim-patch:partial:938ae280c79b () 2023-02-21 23:50:29 +08:00
ui.txt perf(ui-ext): approximate scroll_delta when scrolling too much () 2023-07-04 16:48:53 +08:00
undo.txt vim-patch:b529cfbd04c0 () 2022-07-26 11:26:23 +02:00
userfunc.txt vim-patch:10e8ff9b2607 () 2023-06-11 12:40:22 +01:00
usr_01.txt vim-patch:b7398fe41c9e () 2023-05-15 09:38:32 +02:00
usr_02.txt vim-patch:partial:938ae280c79b () 2023-02-21 23:50:29 +08:00
usr_03.txt vim-patch:71badf9547e8 () 2023-04-23 15:22:55 +02:00
usr_04.txt docs: update explanation of Y to reflect new defaults 2022-02-24 18:13:44 +08:00
usr_05.txt feat!: remove vimballs () 2023-04-11 19:10:36 +02:00
usr_06.txt feat!: remove hardcopy 2023-01-03 10:07:43 +00:00
usr_07.txt docs: update explanation of Y to reflect new defaults 2022-02-24 18:13:44 +08:00
usr_08.txt docs(manual): fix treesitter parsing errors 2023-01-01 15:05:21 +01:00
usr_09.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
usr_10.txt docs(manual): fix treesitter parsing errors 2023-01-01 15:05:21 +01:00
usr_11.txt docs 2023-06-19 08:40:33 -07:00
usr_12.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
usr_20.txt docs(manual): fix treesitter parsing errors 2023-01-01 15:05:21 +01:00
usr_21.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
usr_22.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
usr_23.txt vim-patch:4072ba571bab 2021-05-01 22:29:03 -04:00
usr_24.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
usr_25.txt docs(manual): fix treesitter parsing errors 2023-01-01 15:05:21 +01:00
usr_26.txt vim-patch:d473c8c10126 2018-10-29 10:01:44 +01:00
usr_27.txt vim-patch:2547aa930b59 2021-04-29 09:27:19 -04:00
usr_28.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
usr_29.txt fix(docs): vimdoc syntax errors 2023-06-26 11:29:12 +02:00
usr_30.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
usr_31.txt vim-patch:e7b1ea0276cc 2021-04-29 20:42:16 -04:00
usr_32.txt docs(manual): fix treesitter parsing errors 2023-01-01 15:05:21 +01:00
usr_40.txt fix(docs): vimdoc syntax errors 2023-06-26 11:29:12 +02:00
usr_41.txt fix(docs): ignore_invalid 2023-06-27 10:21:27 -07:00
usr_42.txt docs(manual): fix treesitter parsing errors 2023-01-01 15:05:21 +01:00
usr_43.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
usr_44.txt vim-patch:8024f9363683 2021-04-27 09:21:34 -04:00
usr_45.txt docs 2023-06-19 08:40:33 -07:00
usr_toc.txt feat!: remove hardcopy 2023-01-03 10:07:43 +00:00
various.txt docs: autocmds, misc 2023-06-25 17:25:47 +02:00
vi_diff.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00
vim_diff.txt docs: autocmds, misc 2023-06-25 17:25:47 +02:00
visual.txt docs: small fixes 2023-05-13 21:33:22 +02:00
windows.txt fix(docs): vimdoc syntax errors 2023-06-25 17:14:28 +02:00