summaryrefslogtreecommitdiff
path: root/fnl/config
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf@nexure.io>2022-05-31 21:55:50 +0200
committerGustaf Rydholm <gustaf@nexure.io>2022-05-31 21:55:50 +0200
commit81df0f320c13311e2e2c061409299638eaab63f0 (patch)
tree215914145b6f66042820453bfb34a9c94cccb351 /fnl/config
parent14e5a803d985c50e540b342bf566516068336986 (diff)
Fix loading of colorscheme
Diffstat (limited to 'fnl/config')
-rw-r--r--fnl/config/colorscheme.fnl5
1 files changed, 3 insertions, 2 deletions
diff --git a/fnl/config/colorscheme.fnl b/fnl/config/colorscheme.fnl
index 2cadc02..fd489a2 100644
--- a/fnl/config/colorscheme.fnl
+++ b/fnl/config/colorscheme.fnl
@@ -3,6 +3,7 @@
(local colorscheme :no-clown-fiesta)
-(let [(ok? _) (pcall (vim.cmd (.. "colorscheme " colorscheme)))]
- (if (not ok?)
+(let [(ok? _) (pcall vim.cmd (.. "colorscheme " colorscheme))]
+ (if ok?
+ nil
(vim.notify (.. "colorscheme " colorscheme " not found!"))))