15 lines
391 B
Fennel
15 lines
391 B
Fennel
(let [mod {}]
|
|
(fn mod.colorscheme [name]
|
|
`(vim.api.nvim_cmd {:cmd :colorscheme :args [,name]} []))
|
|
|
|
(fn mod.highlight [name value]
|
|
`(vim.api.nvim_set_hl 0 ,name ,value))
|
|
|
|
(fn mod.highlight-link [src dst]
|
|
`(vim.api.nvim_cmd {:cmd :highlight :args [:link ,src ,dst]} []))
|
|
|
|
(fn mod.deferred_cmd [args delay]
|
|
`(vim.defer_fn #(vim.api.nvim_cmd ,args []) ,delay))
|
|
|
|
mod)
|
|
|