From f14541168e82e7465ec5e099c2680fbb7d537729 Mon Sep 17 00:00:00 2001 From: Zeioth Date: Sat, 5 Aug 2023 17:58:08 +0200 Subject: [PATCH 1/6] feat(dooku.nvim) Gen and open html documentation. --- lua/astrocommunity/comment/dooku-nvim/README.md | 5 +++++ lua/astrocommunity/comment/dooku-nvim/init.lua | 10 ++++++++++ 2 files changed, 15 insertions(+) create mode 100644 lua/astrocommunity/comment/dooku-nvim/README.md create mode 100644 lua/astrocommunity/comment/dooku-nvim/init.lua diff --git a/lua/astrocommunity/comment/dooku-nvim/README.md b/lua/astrocommunity/comment/dooku-nvim/README.md new file mode 100644 index 000000000..d50f60f8c --- /dev/null +++ b/lua/astrocommunity/comment/dooku-nvim/README.md @@ -0,0 +1,5 @@ +# dooku.nvim + +Generate and open your code HTML documentation inside Neovim. + +**Repository:** diff --git a/lua/astrocommunity/comment/dooku-nvim/init.lua b/lua/astrocommunity/comment/dooku-nvim/init.lua new file mode 100644 index 000000000..2e773279f --- /dev/null +++ b/lua/astrocommunity/comment/dooku-nvim/init.lua @@ -0,0 +1,10 @@ +return { + { + "Zeioth/dooku.nvim", + cmd = { "DookuGenerate", "DookuOpen", "DookuAutoSetup" }, + opts = { + -- your config options here + }, + config = function(_, opts) require("dooku").setup(opts) end, + } +} From 35134589c4f3b3412ad31a6a1874eddcdf74c897 Mon Sep 17 00:00:00 2001 From: Zeioth Date: Sat, 5 Aug 2023 18:13:08 +0200 Subject: [PATCH 2/6] =?UTF-8?q?Changes=20proposed=20by=20Uzaaft=20-=20n?= =?UTF-8?q?=C2=BA1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removed empty opts = {}. --- lua/astrocommunity/comment/dooku-nvim/init.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/lua/astrocommunity/comment/dooku-nvim/init.lua b/lua/astrocommunity/comment/dooku-nvim/init.lua index 2e773279f..392fcc6e0 100644 --- a/lua/astrocommunity/comment/dooku-nvim/init.lua +++ b/lua/astrocommunity/comment/dooku-nvim/init.lua @@ -2,9 +2,6 @@ return { { "Zeioth/dooku.nvim", cmd = { "DookuGenerate", "DookuOpen", "DookuAutoSetup" }, - opts = { - -- your config options here - }, config = function(_, opts) require("dooku").setup(opts) end, } } From f849e17b2ec4cc7445e5145fc6628df9f3f491e4 Mon Sep 17 00:00:00 2001 From: Zeioth Date: Sat, 5 Aug 2023 18:26:51 +0200 Subject: [PATCH 3/6] opts {} restored + moved to programming-tools --- .../{comment => programming-tools}/dooku-nvim/README.md | 0 .../{comment => programming-tools}/dooku-nvim/init.lua | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename lua/astrocommunity/{comment => programming-tools}/dooku-nvim/README.md (100%) rename lua/astrocommunity/{comment => programming-tools}/dooku-nvim/init.lua (100%) diff --git a/lua/astrocommunity/comment/dooku-nvim/README.md b/lua/astrocommunity/programming-tools/dooku-nvim/README.md similarity index 100% rename from lua/astrocommunity/comment/dooku-nvim/README.md rename to lua/astrocommunity/programming-tools/dooku-nvim/README.md diff --git a/lua/astrocommunity/comment/dooku-nvim/init.lua b/lua/astrocommunity/programming-tools/dooku-nvim/init.lua similarity index 100% rename from lua/astrocommunity/comment/dooku-nvim/init.lua rename to lua/astrocommunity/programming-tools/dooku-nvim/init.lua From 3ee078e5aec845669bd2c9dd4c088f46201e1ad0 Mon Sep 17 00:00:00 2001 From: Zeioth Date: Sat, 5 Aug 2023 18:33:00 +0200 Subject: [PATCH 4/6] ok: when opts = {}, the config line is not necessary. --- lua/astrocommunity/programming-tools/dooku-nvim/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/astrocommunity/programming-tools/dooku-nvim/init.lua b/lua/astrocommunity/programming-tools/dooku-nvim/init.lua index 392fcc6e0..3b9c18bb5 100644 --- a/lua/astrocommunity/programming-tools/dooku-nvim/init.lua +++ b/lua/astrocommunity/programming-tools/dooku-nvim/init.lua @@ -2,6 +2,6 @@ return { { "Zeioth/dooku.nvim", cmd = { "DookuGenerate", "DookuOpen", "DookuAutoSetup" }, - config = function(_, opts) require("dooku").setup(opts) end, + opts = {} } } From 3bcaab8e9ea9cfe43fc976a2b52c36e26ca1d7c0 Mon Sep 17 00:00:00 2001 From: Zeioth Date: Sat, 5 Aug 2023 19:12:56 +0200 Subject: [PATCH 5/6] applies changes from https://github.com/AstroNvim/astrocommunity/pull/503#issuecomment-1666549857 --- .../dooku-nvim/README.md | 0 .../dooku-nvim/init.lua | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename lua/astrocommunity/{programming-tools => programming-language-support}/dooku-nvim/README.md (100%) rename lua/astrocommunity/{programming-tools => programming-language-support}/dooku-nvim/init.lua (87%) diff --git a/lua/astrocommunity/programming-tools/dooku-nvim/README.md b/lua/astrocommunity/programming-language-support/dooku-nvim/README.md similarity index 100% rename from lua/astrocommunity/programming-tools/dooku-nvim/README.md rename to lua/astrocommunity/programming-language-support/dooku-nvim/README.md diff --git a/lua/astrocommunity/programming-tools/dooku-nvim/init.lua b/lua/astrocommunity/programming-language-support/dooku-nvim/init.lua similarity index 87% rename from lua/astrocommunity/programming-tools/dooku-nvim/init.lua rename to lua/astrocommunity/programming-language-support/dooku-nvim/init.lua index 3b9c18bb5..caca2b531 100644 --- a/lua/astrocommunity/programming-tools/dooku-nvim/init.lua +++ b/lua/astrocommunity/programming-language-support/dooku-nvim/init.lua @@ -2,6 +2,6 @@ return { { "Zeioth/dooku.nvim", cmd = { "DookuGenerate", "DookuOpen", "DookuAutoSetup" }, - opts = {} + opts = {}, } } From b51926c62a3857fe2bf286c26eca556cbd22346c Mon Sep 17 00:00:00 2001 From: Uzair Aftab <48220549+Uzaaft@users.noreply.github.com> Date: Sat, 5 Aug 2023 19:18:07 +0200 Subject: [PATCH 6/6] fix(programming-language-support): Fix code style --- .../programming-language-support/dooku-nvim/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/astrocommunity/programming-language-support/dooku-nvim/init.lua b/lua/astrocommunity/programming-language-support/dooku-nvim/init.lua index caca2b531..1c92930e2 100644 --- a/lua/astrocommunity/programming-language-support/dooku-nvim/init.lua +++ b/lua/astrocommunity/programming-language-support/dooku-nvim/init.lua @@ -3,5 +3,5 @@ return { "Zeioth/dooku.nvim", cmd = { "DookuGenerate", "DookuOpen", "DookuAutoSetup" }, opts = {}, - } + }, }