diff options
author | Rob Pilling <robpilling@gmail.com> | 2022-02-11 15:12:10 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-02-11 15:12:10 +0000 |
commit | 8196e94a8b72ed8618605cb66615571313097d78 (patch) | |
tree | ada10ee3829393c8e0e2ad76915f8ef0c2ae1f9f /runtime/doc | |
parent | 92f645bef7bb817822d115291fe584b15647d577 (diff) | |
download | vim-git-8196e94a8b72ed8618605cb66615571313097d78.tar.gz |
patch 8.2.4343: when reloading not all properties are detectedv8.2.4343
Problem: When reloading not all properties are detected.
Solution: Add the "edit" value to v:fcs_choice. (Rob Pilling, closes #9579)
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/editing.txt | 5 | ||||
-rw-r--r-- | runtime/doc/eval.txt | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt index 371450f4e..5c4b61a3e 100644 --- a/runtime/doc/editing.txt +++ b/runtime/doc/editing.txt @@ -1650,6 +1650,11 @@ If you don't get warned often enough you can use the following command. if it exists now. Once a file has been checked the timestamp is reset, you will not be warned again. + Syntax highlighting, marks, diff status, + 'fileencoding', 'fileformat' and 'binary' options + are not changed. See |v:fcs_choice| to reload these + too (for example, if a code formatting tools has + changed the file). :[N]checkt[ime] {filename} :[N]checkt[ime] [N] diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 9e1425b82..f016c4ab8 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -2070,6 +2070,11 @@ v:fcs_choice What should happen after a |FileChangedShell| event was do with the affected buffer: reload Reload the buffer (does not work if the file was deleted). + edit Reload the buffer and detect the + values for options such as + 'fileformat', 'fileencoding', 'binary' + (does not work if the file was + deleted). ask Ask the user what to do, as if there was no autocommand. Except that when only the timestamp changed nothing |