Unnamed repository; edit this file 'description' to name the repository.
add `rockspec` to lua file types (#12516)
Taylor C. Richberger 2025-01-13
parent 367ccc1 · commit 134aebf
-rw-r--r--languages.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index 01841727..51c1a110 100644
--- a/languages.toml
+++ b/languages.toml
@@ -1295,7 +1295,7 @@ formatter = { command = "dune", args = ["format-dune-file"] }
name = "lua"
injection-regex = "lua"
scope = "source.lua"
-file-types = ["lua"]
+file-types = ["lua", "rockspec"]
shebangs = ["lua", "luajit"]
roots = [".luarc.json", ".luacheckrc", ".stylua.toml", "selene.toml", ".git"]
comment-token = "--"