aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins/filetype.lua
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2018-02-28 12:20:37 +0100
committerMarc André Tanner <mat@brain-dump.org>2018-02-28 12:20:37 +0100
commita1547dd97995d07103f153bcca648883f7372a88 (patch)
treed8197437908b1ce569b6264ab58b6fa011c83c5b /lua/plugins/filetype.lua
parent0a3a82cd7d90abd206ce2cf9151d3cbed01a20af (diff)
parent8419531f88460646fe57e0dda027e2be9fcef18b (diff)
downloadvis-a1547dd97995d07103f153bcca648883f7372a88.tar.gz
vis-a1547dd97995d07103f153bcca648883f7372a88.tar.xz
Merge branch 'lexer-improvements' of https://github.com/roguh/vis
Diffstat (limited to 'lua/plugins/filetype.lua')
-rw-r--r--lua/plugins/filetype.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua
index 6b622e7..04f611c 100644
--- a/lua/plugins/filetype.lua
+++ b/lua/plugins/filetype.lua
@@ -303,6 +303,9 @@ vis.ftdetect.filetypes = {
ext = { "%.sc$", "%.py$", "%.pyw$" },
mime = { "text/x-python" },
},
+ reason = {
+ ext = { "%.re$" },
+ },
rc = {
ext = { "%.rc$", "%.es$" },
},
@@ -322,7 +325,7 @@ vis.ftdetect.filetypes = {
ext = { "%.R$", "%.Rout$", "%.Rhistory$", "%.Rt$", "Rout.save", "Rout.fail" },
},
ruby = {
- ext = { "%.Rakefile$", "%.rake$", "%.rb$", "%.rbw$" },
+ ext = { "%.Rakefile$", "%.rake$", "%.rb$", "%.rbw$", "^Vagrantfile$" },
mime = { "text/x-ruby" },
},
rust = {
@@ -411,7 +414,7 @@ vis.ftdetect.filetypes = {
ext = {"%.xtend$" },
},
yaml = {
- ext = { "%.yaml$" },
+ ext = { "%.yaml$", "%.yml$" },
mime = { "text/x-yaml" },
},
}