mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
api: add API for themes
co-author: hlpr98 <hlpr98@gmail.com> (dict2hlattrs function) orange is sus?? NOVEMBER DAWN erase the lie that is redraw_later()
This commit is contained in:
@@ -751,6 +751,14 @@ module.curbufmeths = module.create_callindex(module.curbuf)
|
||||
module.curwinmeths = module.create_callindex(module.curwin)
|
||||
module.curtabmeths = module.create_callindex(module.curtab)
|
||||
|
||||
function module.exec(code)
|
||||
return module.meths.exec(code, false)
|
||||
end
|
||||
|
||||
function module.exec_capture(code)
|
||||
return module.meths.exec(code, true)
|
||||
end
|
||||
|
||||
function module.exec_lua(code, ...)
|
||||
return module.meths.exec_lua(code, {...})
|
||||
end
|
||||
|
Reference in New Issue
Block a user