aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErlend Lind Madsen <erlendf80@gmail.com>2020-12-22 14:20:51 +0100
committerErlend Lind Madsen <erlendf80@gmail.com>2020-12-22 14:20:51 +0100
commitc1c0d5b7c907c67bce967ae4193f2185d5b9e9a3 (patch)
tree975d7596d9abefa4681565ad5779f0738d6ff778
parent979aadf40b84b0e6d5d24b5248b2ed64b170045d (diff)
downloadvis-cursors-c1c0d5b7c907c67bce967ae4193f2185d5b9e9a3.tar.gz
default cache name to .vis-cursors
-rw-r--r--README.md2
-rw-r--r--init.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index f73c546..1965d85 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,6 @@
A [vis](https://github.com/martanne/vis) [plugin](https://github.com/martanne/vis/wiki/Plugins) for saving cursor position per file.
-Default save path is `{XDG_CACHE_HOME|HOME}/.cursors`
+Default save path is `{XDG_CACHE_HOME|HOME}/.vis-cursors`
Set a custom path with `M.path` \ No newline at end of file
diff --git a/init.lua b/init.lua
index 2895a8b..caaf879 100644
--- a/init.lua
+++ b/init.lua
@@ -5,7 +5,7 @@ local get_default_cache_path = function()
local HOME = os.getenv('HOME')
local XDG_CACHE_HOME = os.getenv('XDG_CACHE_HOME')
local BASE = XDG_CACHE_HOME or HOME
- return BASE .. '/.cursors'
+ return BASE .. '/.vis-cursors'
end
M.path = get_default_cache_path()