diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2020-09-20 17:58:35 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2020-09-20 17:58:35 +0200 |
| commit | 15c087f9a59a4ead606d4fafebe6fb37906e304f (patch) | |
| tree | c17b3e101fb3df2a2c61c70407316aa889b4711d /lua/plugins/filetype.lua | |
| parent | 1b1d45db20781cba443e5a065e05c2e43d5cdf1d (diff) | |
| parent | 6374e5039e42326985911e34a15264f4e635b0eb (diff) | |
| download | vis-15c087f9a59a4ead606d4fafebe6fb37906e304f.tar.gz vis-15c087f9a59a4ead606d4fafebe6fb37906e304f.tar.xz | |
Merge branch 'filetype' of https://github.com/eworm-de/vis into master
Diffstat (limited to 'lua/plugins/filetype.lua')
| -rw-r--r-- | lua/plugins/filetype.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua index 048b35d..e52d722 100644 --- a/lua/plugins/filetype.lua +++ b/lua/plugins/filetype.lua @@ -403,7 +403,8 @@ vis.ftdetect.filetypes = { }, text = { ext = { "%.txt$" }, - mime = { "text/plain" }, + -- Do *not* list mime "text/plain" here, it is covered below, + -- see 'try text lexer as a last resort' }, toml = { ext = { "%.toml$" }, |
