Skip to content
This repository was archived by the owner on Apr 16, 2024. It is now read-only.

Commit c412993

Browse files
committed
feat(modules): add contrib entry in doom_modules.lua file
- `contrib` is intended for Doom Nvim contributors, this entry will install Lua 5.1 and libuv documentation plugins
1 parent 3fb7723 commit c412993

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

doom_modules.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ M.modules = {
2626
},
2727
doom = {
2828
-- "compiler", -- Compile (and run) your code with just pressing three keys!
29+
-- "contrib", -- Special plugins intended for Doom Nvim contributors (lua docs, etc)
2930
-- "neorg", -- Life Organization Tool
3031
-- "runner", -- Open a REPL for the current language or run the current file
3132
},

lua/doom/modules/init.lua

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,18 @@ packer.startup(function(use)
430430
event = "BufWinEnter",
431431
})
432432

433+
local disabled_contrib = functions.is_plugin_disabled("contrib")
434+
-- Lua 5.1 docs
435+
use({
436+
"milisims/nvim-luaref",
437+
disable = disabled_contrib,
438+
})
439+
-- LibUV docs
440+
use({
441+
"nanotee/luv-vimdocs",
442+
disable = disabled_contrib,
443+
})
444+
433445
-----[[-------------]]-----
434446
--- Web Related ---
435447
-----]]-------------[[-----

0 commit comments

Comments
 (0)