Fix: remove async loading not supported in v0.5 #6
This commit is contained in:
@@ -242,6 +242,8 @@ local function load_sync()
|
|||||||
load_highlights(hl.predef)
|
load_highlights(hl.predef)
|
||||||
load_highlights(hl.common)
|
load_highlights(hl.common)
|
||||||
load_highlights(hl.syntax)
|
load_highlights(hl.syntax)
|
||||||
|
for _, group in pairs(hl.langs) do load_highlights(group) end
|
||||||
|
for _, group in pairs(hl.plugins) do load_highlights(group) end
|
||||||
set_hl_ns(ns)
|
set_hl_ns(ns)
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -255,7 +257,7 @@ end))
|
|||||||
|
|
||||||
function M.setup()
|
function M.setup()
|
||||||
load_sync()
|
load_sync()
|
||||||
load_async:send()
|
-- load_async:send() TODO: find why it does not work with v0.5 anymore
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
|||||||
Reference in New Issue
Block a user