aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins')
-rw-r--r--lua/plugins/filetype.lua3
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$" },