From ee47571fdbe1872a57a6a647446cbfd9dc510f21 Mon Sep 17 00:00:00 2001 From: Manuuurino <2855338+manuuurino@users.noreply.github.com> Date: Wed, 14 Aug 2024 00:06:35 +0200 Subject: [PATCH] fix(helpview-nvim): add missing treesitter parser (#1159) --- .../neovim-lua-development/helpview-nvim/init.lua | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lua/astrocommunity/neovim-lua-development/helpview-nvim/init.lua b/lua/astrocommunity/neovim-lua-development/helpview-nvim/init.lua index 8474b3161..eaa561868 100644 --- a/lua/astrocommunity/neovim-lua-development/helpview-nvim/init.lua +++ b/lua/astrocommunity/neovim-lua-development/helpview-nvim/init.lua @@ -1,5 +1,13 @@ return { "OXY2DEV/helpview.nvim", ft = "help", - dependencies = { "nvim-treesitter/nvim-treesitter" }, + dependencies = { + "nvim-treesitter/nvim-treesitter", + optional = true, + opts = function(_, opts) + if opts.ensure_installed ~= "all" then + opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { "vimdoc" }) + end + end, + }, }