diff options
author | Erlend Lind Madsen <erlendf80@gmail.com> | 2020-12-22 14:20:51 +0100 |
---|---|---|
committer | Erlend Lind Madsen <erlendf80@gmail.com> | 2020-12-22 14:20:51 +0100 |
commit | c1c0d5b7c907c67bce967ae4193f2185d5b9e9a3 (patch) | |
tree | 975d7596d9abefa4681565ad5779f0738d6ff778 | |
parent | 979aadf40b84b0e6d5d24b5248b2ed64b170045d (diff) | |
download | vis-cursors-c1c0d5b7c907c67bce967ae4193f2185d5b9e9a3.tar.gz |
default cache name to .vis-cursors
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | init.lua | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 @@ -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() |