aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErlend Lind Madsen <erlendf80@gmail.com>2021-10-03 04:56:56 +0200
committerErlend Lind Madsen <erlendf80@gmail.com>2021-10-03 04:56:56 +0200
commit956110a3d443c6d63423f52a5eb2328ed6fee2d9 (patch)
treeef3e91c177510b7487b2bb79abf1c9188442fdd5
parente87b328148f6bd4411fd78175b12eddf33defef6 (diff)
downloadvis-cursors-956110a3d443c6d63423f52a5eb2328ed6fee2d9.tar.gz
rename default file to just .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 36e3161..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}/.vis-cursors.csv`
+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 9494575..7db4872 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 .. '/.vis-cursors.csv'
+ return BASE .. '/.vis-cursors'
end
M.path = get_default_cache_path()