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/base/lua.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/base/lua.kak')
| -rw-r--r-- | rc/base/lua.kak | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/rc/base/lua.kak b/rc/base/lua.kak index b23c92e3..2f5ba4ee 100644 --- a/rc/base/lua.kak +++ b/rc/base/lua.kak @@ -4,10 +4,6 @@ # Detection # ‾‾‾‾‾‾‾‾‾ -hook global BufSetOption mimetype=text/x-lua %{ - set buffer filetype lua -} - hook global BufCreate .*[.](lua) %{ set buffer filetype lua } |
