diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2018-02-28 12:20:37 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2018-02-28 12:20:37 +0100 |
| commit | a1547dd97995d07103f153bcca648883f7372a88 (patch) | |
| tree | d8197437908b1ce569b6264ab58b6fa011c83c5b /lua/plugins/filetype.lua | |
| parent | 0a3a82cd7d90abd206ce2cf9151d3cbed01a20af (diff) | |
| parent | 8419531f88460646fe57e0dda027e2be9fcef18b (diff) | |
| download | vis-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.lua | 7 |
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" }, }, } |
