aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fnl/nvrc/utils.fnl20
1 files changed, 10 insertions, 10 deletions
diff --git a/fnl/nvrc/utils.fnl b/fnl/nvrc/utils.fnl
index 52ca454..156cff8 100644
--- a/fnl/nvrc/utils.fnl
+++ b/fnl/nvrc/utils.fnl
@@ -39,16 +39,16 @@
(let [msg (or lsp.message "")
percentage (or lsp.percentage 0)
title (or lsp.title "")
- spinners {1 "⠋"
- 2 "⠙"
- 3 "⠹"
- 4 "⠸"
- 5 "⠼"
- 6 "⠴"
- 7 "⠦"
- 8 "⠧"
- 9 "⠇"
- 10 "⠏"}
+ spinners ["⠋"
+ "⠙"
+ "⠹"
+ "⠸"
+ "⠼"
+ "⠴"
+ "⠦"
+ "⠧"
+ "⠇"
+ "⠏"]
success-icon "^.^!"
ms (/ (vim.loop.hrtime) 1000000)
frame (% (math.floor (/ ms 120)) (length spinners))]