vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit b5fbc0740f640e6a8b90e7e7d8d9f07f49b59888 parent 884af9ca8c9e4075fc08dd0a67a46ee88c627d82 Author: Marc André Tanner <mat@brain-dump.org> Date: Sun, 20 Sep 2020 17:58:35 +0200 Merge branch 'filetype' of https://github.com/eworm-de/vis into master Diffstat:
| M | lua/plugins/filetype.lua | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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$" },