aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 2e6523bb2442f8bebf9d35e118c63bc3441fa0d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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'
```