summaryrefslogtreecommitdiff
path: root/rc/core/python.kak
diff options
context:
space:
mode:
authorMartin Chaine <martin@casimir.me>2016-12-06 14:40:14 +0100
committerMartin Chaine <martin@casimir.me>2016-12-06 17:48:46 +0100
commit7384288e079c7c7dfc24f94c2189e2e075f7dcdf (patch)
tree6549d15fb5c129298718bf358c194a7e4b9f8e63 /rc/core/python.kak
parentb3ac733f332a753be2fc575328d38017f31d0a00 (diff)
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.
Diffstat (limited to 'rc/core/python.kak')
-rw-r--r--rc/core/python.kak4
1 files changed, 0 insertions, 4 deletions
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
}