From 81df0f320c13311e2e2c061409299638eaab63f0 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 31 May 2022 21:55:50 +0200 Subject: Fix loading of colorscheme --- fnl/config/colorscheme.fnl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'fnl/config') 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!")))) -- cgit v1.2.3-70-g09d2