commit f498add990356cac78ab4e762e15c3757a934ac3
parent 573af685c653713ed601da631470da039284c536
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Wed, 17 Jul 2019 09:52:40 +0200
Refine snippets plugin
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.config/vis/plugins/snippets.lua b/.config/vis/plugins/snippets.lua
@@ -34,7 +34,7 @@ for k, v in pairs(snippets) do
_, j = string.find(v, snippets_cursor)
vis:insert(string.gsub(v, snippets_cursor, ''))
vis:feedkeys('<Escape>')
- for _ = j+1,string.len(v) do
+ for _ = j+1, string.len(v) do
vis:feedkeys('h')
end
vis:feedkeys('i')