Skip to content

Commit

Permalink
[vim]: fix broken color! macro
Browse files Browse the repository at this point in the history
  • Loading branch information
udayvir-singh committed Feb 28, 2023
1 parent c34912c commit 2329c56
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ Removes {val} from string-style option {name}.
Sets vim colorscheme to {name}.

```fennel
(color! desert)
(color! :desert)
```

## variables
Expand Down
2 changes: 1 addition & 1 deletion doc/hibiscus.txt
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ color! *color!*
Sets vim colorscheme to {name}.

>fennel
(color! desert)
(color! :desert)
<


Expand Down
3 changes: 2 additions & 1 deletion fnl/hibiscus/vim.fnl
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,8 @@

(lun color! [name]
"sets vim colorscheme to 'name'."
(exec! `(colorscheme ,(parse-sym name))))
(check [:string name])
`(vim.cmd ,(.. "colorscheme " name)))


;; -------------------- ;;
Expand Down

0 comments on commit 2329c56

Please sign in to comment.