From 20b08937c597f11b3facb1c8639d9d635cfdcf91 Mon Sep 17 00:00:00 2001 From: Hugo Rivera <6373447+roguh@users.noreply.github.com> Date: Mon, 19 Feb 2018 09:44:35 -0700 Subject: Add ^Vagrantfile$ as a Ruby file extension --- lua/plugins/filetype.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/plugins/filetype.lua') diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua index 6b622e7..28ac101 100644 --- 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 = { -- cgit v1.2.3 From abbdb10fb15f8798523137755e00705a5b65c4ab Mon Sep 17 00:00:00 2001 From: Hugo Rivera <6373447+roguh@users.noreply.github.com> Date: Mon, 19 Feb 2018 09:44:58 -0700 Subject: Add .yml as a YAML file extension --- lua/plugins/filetype.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/plugins/filetype.lua') diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua index 28ac101..5e8c8ee 100644 --- a/lua/plugins/filetype.lua +++ b/lua/plugins/filetype.lua @@ -411,7 +411,7 @@ vis.ftdetect.filetypes = { ext = {"%.xtend$" }, }, yaml = { - ext = { "%.yaml$" }, + ext = { "%.yaml$", "%.yml$" }, mime = { "text/x-yaml" }, }, } -- cgit v1.2.3 From 8419531f88460646fe57e0dda027e2be9fcef18b Mon Sep 17 00:00:00 2001 From: Hugo Rivera <6373447+roguh@users.noreply.github.com> Date: Mon, 19 Feb 2018 09:44:09 -0700 Subject: Adds basic Reason ML lexer. See https://reasonml.github.io/docs/en/comparison-to-ocaml.html for major differences between Reason and OCaml. --- lua/plugins/filetype.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lua/plugins/filetype.lua') diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua index 5e8c8ee..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$" }, }, -- cgit v1.2.3