diff --git a/lua/mason-registry/index.lua b/lua/mason-registry/index.lua index a693237c7..d19f40b42 100644 --- a/lua/mason-registry/index.lua +++ b/lua/mason-registry/index.lua @@ -157,6 +157,7 @@ return { ["quick-lint-js"] = "mason-registry.quick-lint-js", ["r-languageserver"] = "mason-registry.r-languageserver", ["reason-language-server"] = "mason-registry.reason-language-server", + ["remark-cli"] = "mason-registry.remark-cli", ["remark-language-server"] = "mason-registry.remark-language-server", ["rescript-lsp"] = "mason-registry.rescript-lsp", revive = "mason-registry.revive", diff --git a/lua/mason-registry/remark-cli/init.lua b/lua/mason-registry/remark-cli/init.lua new file mode 100644 index 000000000..46be0619f --- /dev/null +++ b/lua/mason-registry/remark-cli/init.lua @@ -0,0 +1,11 @@ +local Pkg = require "mason-core.package" +local npm = require "mason-core.managers.npm" + +return Pkg.new { + name = "remark-cli", + desc = [[Command line interface to inspect and change markdown files with remark.]], + homepage = "https://remark.js.org/", + languages = { Pkg.Lang.Markdown }, + categories = { Pkg.Cat.Formatter }, + install = npm.packages { "remark-cli", bin = { "remark" } }, +} diff --git a/lua/mason/mappings/language.lua b/lua/mason/mappings/language.lua index 2ba87fe52..9ab2958d0 100644 --- a/lua/mason/mappings/language.lua +++ b/lua/mason/mappings/language.lua @@ -66,7 +66,7 @@ return { liquid = { "curlylint", "shopify-theme-check" }, lua = { "lemmy-help", "lua-language-server", "luacheck", "luaformatter", "selene", "stylua" }, luau = { "luau-lsp" }, - markdown = { "alex", "cbfmt", "grammarly-languageserver", "ltex-ls", "markdownlint", "marksman", "prettier", "prettierd", "proselint", "prosemd-lsp", "remark-language-server", "textlint", "vale", "write-good", "zk" }, + 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" }, mustache = { "djlint" },