aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/python.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2026-07-22 22:03:05 +0800
committerGitHub <noreply@github.com>2026-07-22 14:03:05 +0000
commit47e97c1ad64342dd89a4cd5209e0a5b5fa3ea828 (patch)
treec4e41637e3ccee3c3edb8d4378835100ae5ce495 /runtime/syntax/python.vim
parentbd73d8c01146695b727849e67fc1f1f209d5884f (diff)
downloadrneovim-47e97c1ad64342dd89a4cd5209e0a5b5fa3ea828.tar.gz
rneovim-47e97c1ad64342dd89a4cd5209e0a5b5fa3ea828.tar.bz2
rneovim-47e97c1ad64342dd89a4cd5209e0a5b5fa3ea828.zip
vim-patch:9.2.0827: :startinsert enters Insert mode in a non-modifiable buffer (#40906)
Problem: ":startinsert" enters Insert mode in a buffer where 'modifiable' is off, the error only appears when a character is typed. Typing "i" gives the error right away (Barrett Ruth) Solution: Give the error when the buffer is not modifiable, like "i" does. Keep ignoring the command in a terminal window, where ":startinsert" is documented to be ineffective, and keep accepting it when 'insertmode' is set, like "i" does (Hirohito Higashi). fixes: vim/vim#20804 closes: vim/vim#20806 https://github.com/vim/vim/commit/6ab1976e49135c0d03b06e3cddd26dc86edff085 Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions