From e3d31b397843204007df3dc434d2ba34ff464acc Mon Sep 17 00:00:00 2001 From: Oliver Hartmann Date: Sun, 15 Oct 2023 13:07:14 +0200 Subject: [PATCH] lazy load devdocs --- lua/plugins/nvim-devdocs.lua | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/lua/plugins/nvim-devdocs.lua b/lua/plugins/nvim-devdocs.lua index 61e978c..96d6d1e 100644 --- a/lua/plugins/nvim-devdocs.lua +++ b/lua/plugins/nvim-devdocs.lua @@ -6,5 +6,16 @@ return { 'nvim-treesitter/nvim-treesitter', }, branch = 'master', - opts = {} + opts = {}, + cmd = { + 'DevdocsFetch', + 'DevdocsInstall', + 'DevdocsUninstall', + 'DevdocsOpen', + 'DevdocsOpenFloat', + 'DevdocsOpenCurrent', + 'DevdocsOpenCurrentFloat', + 'DevdocsUpdate', + 'DevdocsUpdateAll', + } }