aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins/filetype.lua
diff options
context:
space:
mode:
authorHugo Rivera <6373447+roguh@users.noreply.github.com>2018-02-19 09:44:09 -0700
committerHugo Rivera <6373447+roguh@users.noreply.github.com>2018-02-27 21:42:24 -0700
commit8419531f88460646fe57e0dda027e2be9fcef18b (patch)
tree54c6a9dd47bd0f47f0abe29ec1957bd01bb23e7e /lua/plugins/filetype.lua
parentabbdb10fb15f8798523137755e00705a5b65c4ab (diff)
downloadvis-8419531f88460646fe57e0dda027e2be9fcef18b.tar.gz
vis-8419531f88460646fe57e0dda027e2be9fcef18b.tar.xz
Adds basic Reason ML lexer.
See https://reasonml.github.io/docs/en/comparison-to-ocaml.html for major differences between Reason and OCaml.
Diffstat (limited to 'lua/plugins/filetype.lua')
-rw-r--r--lua/plugins/filetype.lua3
1 files changed, 3 insertions, 0 deletions
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$" },
},