clp

command line syntax highlighter
git clone git://jeskin.net/clp.git
README | Log | Files | Refs | LICENSE

commit d1e6ce61107bb43ea65a0173ddac0df04e7f9d69
parent 1318913ff4e5084a30d33d22f0c87f61dabf59de
Author: khwerz <khwerz@gmail.com>
Date:   Thu, 21 Jul 2022 22:12:09 -0400

ftdetect: return text if file is empty

Diffstat:
Mlua/ftdetect.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lua/ftdetect.lua b/lua/ftdetect.lua @@ -594,8 +594,8 @@ ftdetect.lookup_lexer = function(filename) end -- try text lexer as a last resort - return 'text' end + return 'text' end return ftdetect