From 642bd558b10880ad7b2e7429f405eab3c2234def Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 29 Sep 2016 19:48:32 +0200 Subject: Cosmetic changes to file detection code --- vis.lua | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'vis.lua') diff --git a/vis.lua b/vis.lua index 76d4e2e..227fa18 100644 --- a/vis.lua +++ b/vis.lua @@ -192,8 +192,8 @@ vis.ftdetect.filetypes = { -- array of filetype detecting functions (win, filename, shebang, app) -> string vis.ftdetect.customdetectors = { - function(win) - if win.file:content(0, 5) == '