refactor(#2787): use inline deprecation disabling

This commit is contained in:
Alexander Courtis
2024-06-01 16:17:58 +10:00
parent 459f73362b
commit a5f1b867bd
5 changed files with 7 additions and 14 deletions

View File

@@ -85,8 +85,7 @@ function M.get_last_group_node(node)
node = node.group_next
end
---@diagnostic disable-next-line: return-type-mismatch -- it can't be nil
return node
return node ---@diagnostic disable-line: return-type-mismatch -- it can't be nil
end
---Group empty folders