From abd7777e9d50feed3c56b8e446b89596b4025784 Mon Sep 17 00:00:00 2001 From: Jay Patel <36803168+jay-babu@users.noreply.github.com> Date: Sun, 4 Jun 2023 17:48:11 -0400 Subject: [PATCH] feat(markdown-and-latex): install markmap from mason (#258) --- .../markdown-and-latex/markmap-nvim/markmap.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lua/astrocommunity/markdown-and-latex/markmap-nvim/markmap.lua b/lua/astrocommunity/markdown-and-latex/markmap-nvim/markmap.lua index 35bea0013..85466f3e8 100644 --- a/lua/astrocommunity/markdown-and-latex/markmap-nvim/markmap.lua +++ b/lua/astrocommunity/markdown-and-latex/markmap-nvim/markmap.lua @@ -1,3 +1,5 @@ +local utils = require "astronvim.utils" + -- [markdown markmap] -- https://github.com/Zeioth/markmap.nvim return { @@ -6,4 +8,9 @@ return { opts = { hide_toolbar = "false", }, + { + "jay-babu/mason-null-ls.nvim", + optional = true, + opts = function(_, opts) opts.ensure_installed = utils.list_insert_unique(opts.ensure_installed, { "markmap" }) end, + }, }