diff options
| author | raiguard <caleb.heuer@gmail.com> | 2021-12-12 20:21:57 -0700 |
|---|---|---|
| committer | raiguard <caleb.heuer@gmail.com> | 2021-12-12 20:21:57 -0700 |
| commit | 9eef47fa0ec8b44884ad93660f5a1d60f3c11991 (patch) | |
| tree | 01dbb74ea4537cbf23028de7f10a30c2b35b3b03 | |
| parent | 9f81790371fcae1642af7f6167023c5281d76feb (diff) | |
Fix harpoon-remove param definitions
| -rw-r--r-- | harpoon.kak | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/harpoon.kak b/harpoon.kak index 309452f..b2e1d29 100644 --- a/harpoon.kak +++ b/harpoon.kak @@ -43,11 +43,11 @@ define-command -params ..1 -docstring "Add the current file to the list at the i } } -define-command -params 1 -docstring "Remove the file at the specified index" harpoon-remove %{ +define-command -params ..1 -docstring "Remove the file at the specified index" harpoon-remove %{ lua %arg{1} %{ local index = args() if not index or #index == 0 then - kak.set_option("global", "harpoon_buffers" "") + kak.set_option("global", "harpoon_buffers") else kak.set_option("-remove", "global", "harpoon_buffers", index.."=foo") end |
