fix bug introduced by 365bebd.

Very stupid, util -> loader_util.
This commit is contained in:
L3MON4D3 2024-06-28 22:17:09 +02:00
parent 93abea587d
commit 93d4dcd61f

View file

@ -103,7 +103,7 @@ local function get_file_snippets(file)
-- vscode documents `,`, but `.` also works.
-- an entry `false` in this list will cause a `ft=nil` for the snippet.
local filetypes = parts.scope
and util.scopestring_to_filetypes(parts.scope)
and loader_util.scopestring_to_filetypes(parts.scope)
or { false }
local contexts = {}