mirror of
https://github.com/neovim/neovim.git
synced 2026-07-19 07:31:35 +00:00
feat: ":write!" skips "file changed" warning #18665
Problem: Cannot opt-out of "WARNING: The file has been changed since reading it!!!", even with ":write!". Solution: Change ":write!" to skip the warning. closes #7270
This commit is contained in:
committed by
GitHub
parent
c7cf1232a7
commit
2a3cb0893b
@@ -372,6 +372,7 @@ Lua interface (|lua.txt|):
|
||||
Commands:
|
||||
|:doautocmd| does not warn about "No matching autocommands".
|
||||
|:wincmd| accepts a count.
|
||||
`:write!` does not show a prompt if the file was updated externally.
|
||||
|
||||
Command line completion:
|
||||
The meanings of arrow keys do not change depending on 'wildoptions'.
|
||||
|
||||
Reference in New Issue
Block a user