diff options
Diffstat (limited to 'lua/plugins/filetype.lua')
| -rw-r--r-- | lua/plugins/filetype.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua index 048b35d..fa1717e 100644 --- a/lua/plugins/filetype.lua +++ b/lua/plugins/filetype.lua @@ -343,6 +343,12 @@ vis.ftdetect.filetypes = { rhtml = { ext = { "%.erb$", "%.rhtml$" }, }, + routeros = { + ext = { "%.rsc" }, + detect = function(file, data) + return data:match("^#.* by RouterOS") + end + }, rstats = { ext = { "%.R$", "%.Rout$", "%.Rhistory$", "%.Rt$", "Rout.save", "Rout.fail" }, }, |
