Skip to content

Commit

Permalink
feat(registry): selene and stylua support for luau (#548)
Browse files Browse the repository at this point in the history
  • Loading branch information
lopi-py committed Oct 13, 2022
1 parent 2cd60f6 commit d5abc15
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lua/mason-registry/selene/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ return Pkg.new {
name = "selene",
desc = [[A blazing-fast modern Lua linter written in Rust]],
homepage = "https://kampfkarren.github.io/selene/",
languages = { Pkg.Lang.Lua },
languages = { Pkg.Lang.Lua, Pkg.Lang.Luau },
categories = { Pkg.Cat.Linter },
---@async
---@param ctx InstallContext
Expand Down
2 changes: 1 addition & 1 deletion lua/mason-registry/stylua/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ return Pkg.new {
name = "stylua",
desc = [[An opinionated Lua code formatter]],
homepage = "https://github.com/JohnnyMorganz/StyLua",
languages = { Pkg.Lang.Lua },
languages = { Pkg.Lang.Lua, Pkg.Lang.Luau },
categories = { Pkg.Cat.Formatter },
---@async
---@param ctx InstallContext
Expand Down
2 changes: 1 addition & 1 deletion lua/mason/mappings/language.lua
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ return {
less = { "css-lsp", "prettier", "prettierd" },
liquid = { "curlylint", "shopify-theme-check" },
lua = { "lemmy-help", "lua-language-server", "luacheck", "luaformatter", "selene", "stylua" },
luau = { "luau-lsp" },
luau = { "luau-lsp", "selene", "stylua" },
markdown = { "alex", "cbfmt", "grammarly-languageserver", "ltex-ls", "markdownlint", "marksman", "prettier", "prettierd", "proselint", "prosemd-lsp", "remark-cli", "remark-language-server", "textlint", "vale", "write-good", "zk" },
["metamath zero"] = { "metamath-zero-lsp" },
mksh = { "shfmt" },
Expand Down

0 comments on commit d5abc15

Please sign in to comment.