Skip to content

Commit 8425138

Browse files
authored
fix(filetype.lua): add missing argument (#341)
1 parent cbaeb9f commit 8425138

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/plenary/filetype.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ filetype.detect_from_shebang = function(filepath)
143143
if not head then
144144
return ""
145145
end
146-
local lines = vim.split("", "\n")
146+
local lines = vim.split(head, "\n")
147147
return filetype._parse_shebang(lines[1])
148148
end
149149

0 commit comments

Comments
 (0)