diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-04-29 19:59:54 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-04-29 21:19:45 +0200 |
commit | 39e3783c697bad7ed16f5ce53910bb55f412626f (patch) | |
tree | 5b641dbc94d2fbf992976c28b32cfcff923a70e0 /runtime | |
parent | 24b7462b3cbf9a70f07f0a8e8da562a365cdc37a (diff) | |
download | rneovim-39e3783c697bad7ed16f5ce53910bb55f412626f.tar.gz rneovim-39e3783c697bad7ed16f5ce53910bb55f412626f.tar.bz2 rneovim-39e3783c697bad7ed16f5ce53910bb55f412626f.zip |
vim-patch:8.1.0314: add swapinfo() "dirty" item
Problem: Build failure without the +eval feature. (Brenton Horne)
Solution: Add #ifdef. Also add the "dirty" item.
https://github.com/vim/vim/commit/47ad5656e1e4285a74e7e8e5d0f1f71cd554e25c
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 0472a67d18..3553174d9f 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -7770,10 +7770,12 @@ swapinfo({fname}) swapinfo() file mtime last modification time in seconds inode Optional: INODE number of the file + dirty 1 if file was modified, 0 if not In case of failure an "error" item is added with the reason: Cannot open file: file not found or in accessible Cannot read file: cannot read first block - magic number mismatch: info in first block is invalid + Not a swap file: does not contain correct block ID + Magic number mismatch: Info in first block is invalid synID({lnum}, {col}, {trans}) *synID()* The result is a Number, which is the syntax ID at the position |