aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid B. Lamkins <david@lamkins.net>2017-03-07 08:15:18 +0100
committerMarc André Tanner <mat@brain-dump.org>2017-03-07 08:15:18 +0100
commit11afbe423bf163b9a03126b26c1c0fdbb41fc54e (patch)
tree9a3704fe2b319ba44728c866e8dd06f2d474d0a0
parent5dbb97a03f50eb7e271cae5f1b3b353d534b2539 (diff)
downloadvis-11afbe423bf163b9a03126b26c1c0fdbb41fc54e.tar.gz
vis-11afbe423bf163b9a03126b26c1c0fdbb41fc54e.tar.xz
lua: add filetype detection for Plan9 rc and derivatives
Close #513
-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 d822c26..84df15a 100644
--- a/lua/plugins/filetype.lua
+++ b/lua/plugins/filetype.lua
@@ -294,6 +294,9 @@ vis.ftdetect.filetypes = {
ext = { "%.sc$", "%.py$", "%.pyw$" },
mime = { "text/x-python" },
},
+ rc = {
+ ext = { "%.rc$", "%.es$", "%.xs" },
+ },
rebol = {
ext = { "%.r$", "%.reb$" },
},