indent file by 4 spaces
This commit is contained in:
+2
-2
@@ -138,11 +138,11 @@ query.add_directive("set-lang-from-info-string!", function(match, _, bufnr, pred
|
|||||||
if not node then
|
if not node then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
local injection_alias = vim.treesitter.get_node_text(node, bufnr):lower()
|
|
||||||
metadata["injection.language"] = get_parser_from_markdown_info_string(injection_alias)
|
|
||||||
if not node.range then
|
if not node.range then
|
||||||
return -- TODO: What is goin on here???
|
return -- TODO: What is goin on here???
|
||||||
end
|
end
|
||||||
|
local injection_alias = vim.treesitter.get_node_text(node, bufnr):lower()
|
||||||
|
metadata["injection.language"] = get_parser_from_markdown_info_string(injection_alias)
|
||||||
end, opts)
|
end, opts)
|
||||||
|
|
||||||
-- Just avoid some annoying warnings for this directive
|
-- Just avoid some annoying warnings for this directive
|
||||||
|
|||||||
Reference in New Issue
Block a user