From 69414bcd6448dfdc17b386c287eacdaab3a70af5 Mon Sep 17 00:00:00 2001 From: aktersnurra Date: Sun, 10 Apr 2022 23:35:20 +0200 Subject: fix(colorscheme): add vim.cmd --- fnl/config/colorscheme.fnl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fnl/config/colorscheme.fnl b/fnl/config/colorscheme.fnl index 31323d7..828daf1 100644 --- a/fnl/config/colorscheme.fnl +++ b/fnl/config/colorscheme.fnl @@ -4,6 +4,6 @@ (local colorscheme "no-clown-fiesta") -(let [(ok? _) (pcall (.. "colorscheme " colorscheme))] - (when (not ok?) +(let [(ok? _) (pcall (vim.cmd (.. "colorscheme " "no-clown-fiesta")))] + (if (not ok?) (vim.notify (.. "colorscheme " colorscheme " not found!")))) -- cgit v1.2.3-70-g09d2