mirror of
https://github.com/oasislinux/oasis.git
synced 2026-02-01 11:34:17 +01:00
27 lines
643 B
Diff
27 lines
643 B
Diff
From 7a6d49b0c1bd0dcf3f0072f9be18d448821dc04f Mon Sep 17 00:00:00 2001
|
|
From: Michael Forney <mforney@mforney.org>
|
|
Date: Fri, 30 Dec 2016 20:34:04 -0800
|
|
Subject: [PATCH] Add rc script detection
|
|
|
|
---
|
|
lua/plugins/filetype.lua | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua
|
|
index e6bb83b..b687dfa 100644
|
|
--- a/lua/plugins/filetype.lua
|
|
+++ b/lua/plugins/filetype.lua
|
|
@@ -290,6 +290,9 @@ vis.ftdetect.filetypes = {
|
|
ext = { "%.sc$", "%.py$", "%.pyw$" },
|
|
mime = { "text/x-python" },
|
|
},
|
|
+ rc = {
|
|
+ ext = { "%.rc$" },
|
|
+ },
|
|
rebol = {
|
|
ext = { "%.r$", "%.reb$" },
|
|
},
|
|
--
|
|
2.11.0
|
|
|