aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-12-14 13:37:47 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-12-14 14:44:49 +0100
commitb531213d198405ba0ff1a2982d8b258fb10d7697 (patch)
tree3bc3456b7fe4ddb9a66605e9c15a17457e7ec97f /lua/plugins
parente80d859867e515d95492e61bf5dca08a1c325130 (diff)
downloadvis-b531213d198405ba0ff1a2982d8b258fb10d7697.tar.gz
vis-b531213d198405ba0ff1a2982d8b258fb10d7697.tar.xz
vis: add new :set savemethod auto|atomic|inplace option
Specifies how the current file should be saved, `atomic` which uses rename(2) to atomically replace the file, `inplace` which truncates the file and then rewrites it or `auto` which tries the former before falling back to the latter. The rename method fails for symlinks, hardlinks, in case of insufficient directory permissions or when either the file owner, group, POSIX ACL or SELinux labels can not be restored. The option defaults to `auto`.
Diffstat (limited to 'lua/plugins')
0 files changed, 0 insertions, 0 deletions