vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit f6030eb5e7106c9a3c719b1b9b7817ec5c87961c parent 7747bb1a6c548c3a549fad28bd3acf87d69ede6c Author: Hugo Rivera <6373447+roguh@users.noreply.github.com> Date: Mon, 19 Feb 2018 09:44:35 -0700 Add ^Vagrantfile$ as a Ruby file extension Diffstat:
| M | lua/plugins/filetype.lua | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua @@ -322,7 +322,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 = {