From aead994af26e91c3a094b010fcba3d45453c8940 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 2 May 2024 16:00:54 +0200 Subject: initial commit --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..2e6523b --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +# vis-lockfiles - detect concurrent edits + +This is a simple `vis` plugin to detect if a file is concurrently edited by +multiple vis processes. + +## Configuration + +By default, the lockfiles will be placed in `$XDG_RUNTIME_DIR/vis/locks/`. + +The `directory` member of the module table can be used to define the lock file +location. + +```lua +local lockfiles = require('plugins/vis-lockfiles') +lockfiles.direcory = '$HOME' +``` -- cgit v1.2.3