summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
authoraktersnurra <grydholm@kth.se>2022-04-10 23:35:20 +0200
committeraktersnurra <grydholm@kth.se>2022-04-10 23:35:20 +0200
commit69414bcd6448dfdc17b386c287eacdaab3a70af5 (patch)
tree10f9264551b69eaa1c8494e5377fe31219844561 /fnl
parenta1d289f9c1c4172469fad4defdd6dea8cf6e5ac7 (diff)
fix(colorscheme): add vim.cmd
Diffstat (limited to 'fnl')
-rw-r--r--fnl/config/colorscheme.fnl4
1 files 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!"))))