diff options
author | Erlend Fagerheim <erlendf80@gmail.com> | 2017-10-16 10:48:35 +0200 |
---|---|---|
committer | Erlend Fagerheim <erlendf80@gmail.com> | 2017-10-16 10:48:35 +0200 |
commit | fcd07c6fd8f14fe7fe027f7ba81e829b742153c6 (patch) | |
tree | e171cfae0d595a3728d131f33e351e947da1a96d | |
parent | c3f30ee97030b29dde80d343585fae55920f4523 (diff) | |
download | vis-cursors-fcd07c6fd8f14fe7fe027f7ba81e829b742153c6.tar.gz |
simplify string concat
-rw-r--r-- | cursors.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cursors.lua b/cursors.lua index 2e55c0a..9aee175 100644 --- a/cursors.lua +++ b/cursors.lua @@ -1,6 +1,6 @@ local module = {} local cursors = {} -module.path = string.format('%s/.cursors', os.getenv('HOME')) +module.path = os.getenv('HOME') .. '/.cursors' function set_cursor_pos(win) if win.file == nil or win.file.path == nil then return end |