From 7384288e079c7c7dfc24f94c2189e2e075f7dcdf Mon Sep 17 00:00:00 2001 From: Martin Chaine Date: Tue, 6 Dec 2016 14:40:14 +0100 Subject: transform mimetype to a fallback option The option is now used as a fallback when detection by extension fails. Some scripts like `base/mail.kak` and `base/html.kak` still rely heavily on it. --- rc/core/python.kak | 4 ---- 1 file changed, 4 deletions(-) (limited to 'rc/core/python.kak') diff --git a/rc/core/python.kak b/rc/core/python.kak index 7bca05b7..fc09beaa 100644 --- a/rc/core/python.kak +++ b/rc/core/python.kak @@ -4,10 +4,6 @@ # Detection # ‾‾‾‾‾‾‾‾‾ -hook global BufSetOption mimetype=text/x-python %{ - set buffer filetype python -} - hook global BufCreate .*[.](py) %{ set buffer filetype python } -- cgit v1.2.3