diff options
| author | Martin Chaine <martin@casimir.me> | 2016-12-06 14:40:14 +0100 |
|---|---|---|
| committer | Martin Chaine <martin@casimir.me> | 2016-12-06 17:48:46 +0100 |
| commit | 7384288e079c7c7dfc24f94c2189e2e075f7dcdf (patch) | |
| tree | 6549d15fb5c129298718bf358c194a7e4b9f8e63 /rc/core/python.kak | |
| parent | b3ac733f332a753be2fc575328d38017f31d0a00 (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.kak | 4 |
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 } |
