diff options
author | Erlend Lind Madsen <erlendf80@gmail.com> | 2021-10-03 04:56:56 +0200 |
---|---|---|
committer | Erlend Lind Madsen <erlendf80@gmail.com> | 2021-10-03 04:56:56 +0200 |
commit | 956110a3d443c6d63423f52a5eb2328ed6fee2d9 (patch) | |
tree | ef3e91c177510b7487b2bb79abf1c9188442fdd5 | |
parent | e87b328148f6bd4411fd78175b12eddf33defef6 (diff) | |
download | vis-cursors-956110a3d443c6d63423f52a5eb2328ed6fee2d9.tar.gz |
rename default file to just .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}/.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 @@ -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() |