summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-06 23:49:34 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-06 23:49:34 +0200
commit31743e584d0dbd736ef739b466c8730b809c5fdc (patch)
tree5fadbcedadea161dff301b9fdf3ac4994647ab75
parent1bee94ff83340719d03ec1446b72c4e2475c796f (diff)
fix(util): use vim notify for err msg
-rw-r--r--fnl/util.fnl2
1 files changed, 1 insertions, 1 deletions
diff --git a/fnl/util.fnl b/fnl/util.fnl
index 29db949..febecbd 100644
--- a/fnl/util.fnl
+++ b/fnl/util.fnl
@@ -5,4 +5,4 @@
(let [(ok? val-or-err) (pcall require name)]
(if ok?
(val-or-err)
- (print (.. "Could not load config: " val-or-err)))))
+ (vim.notify (.. "Could not load config: " val-or-err) vim.log.levels.WARN))))