summaryrefslogtreecommitdiff
path: root/fnl/config
diff options
context:
space:
mode:
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!"))))