aboutsummaryrefslogtreecommitdiff
path: root/init.lua
Commit message (Collapse)AuthorAgeFilesLines
* show locking pid on conflict; clearer promptAlin Mr2024-05-031-5/+6
|
* init.lua: use vis:exit()Alin Mr2024-05-031-1/+1
|
* init.lua: map filenames to lockfilesAlin Mr2024-05-031-5/+6
| | | | also solves re-locking a file we own (e.g. no-arg `:e`)
* init.lua: simplify 'yes' detectionAlin Mr2024-05-031-10/+5
|
* split lock file functions into separate file to enable testingFlorian Fischer2024-05-031-74/+13
|
* init.lua: x%y and x/y should not map to same lockAlin Mr2024-05-031-1/+2
|
* init.lua: re-expand whenever M.directory changesAlin Mr2024-05-031-2/+3
|
* init.lua: create & expand M.dir: only onceAlin Mr2024-05-031-2/+12
|
* run make formatFlorian Fischer2024-05-031-2/+6
|
* init.lua: echo -> printfAlin Mr2024-05-021-2/+1
|
* return early if no file is openedFlorian Fischer2024-05-021-0/+2
| | | | | Reported-By: Matěj Cepl <mcepl@cepl.eu> Tested-By: Alin Mr <almr.oss@outlook.com>
* use more native Lua code instead of os.executeFlorian Fischer2024-05-021-7/+11
| | | | Suggested-by: Matěj Cepl <mcepl@cepl.eu>
* store lock files in XDG_STATE_HOMEFlorian Fischer2024-05-021-1/+1
| | | | | Replace the previous wrong combination of XDG_CACHE_HOME and the default location of XDG_DATA_HOME.
* initial commitFlorian Fischer2024-05-021-0/+121