diff options
author | Louis Sven Goulet <31444858+lorlouis@users.noreply.github.com> | 2022-09-24 21:57:10 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-24 18:57:10 -0700 |
commit | 2a3cb0893b03aeff4d8c0b2116cbddda53bba5a2 (patch) | |
tree | e108192c095f418f5f2255468e3a4d570119eb00 /runtime/doc/vim_diff.txt | |
parent | c7cf1232a71b0db700b818e2ae8e8ebaf40133f2 (diff) | |
download | rneovim-2a3cb0893b03aeff4d8c0b2116cbddda53bba5a2.tar.gz rneovim-2a3cb0893b03aeff4d8c0b2116cbddda53bba5a2.tar.bz2 rneovim-2a3cb0893b03aeff4d8c0b2116cbddda53bba5a2.zip |
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
Diffstat (limited to 'runtime/doc/vim_diff.txt')
-rw-r--r-- | runtime/doc/vim_diff.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index b013e00fe8..e254e5edd0 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -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'. |