diff options
author | aktersnurra <grydholm@kth.se> | 2022-04-10 23:35:20 +0200 |
---|---|---|
committer | aktersnurra <grydholm@kth.se> | 2022-04-10 23:35:20 +0200 |
commit | 69414bcd6448dfdc17b386c287eacdaab3a70af5 (patch) | |
tree | 10f9264551b69eaa1c8494e5377fe31219844561 /fnl/config | |
parent | a1d289f9c1c4172469fad4defdd6dea8cf6e5ac7 (diff) |
fix(colorscheme): add vim.cmd
Diffstat (limited to 'fnl/config')
-rw-r--r-- | fnl/config/colorscheme.fnl | 4 |
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!")))) |