feat: add rootiest_dev option to enable/disable development mode for plugins

This commit is contained in:
2024-09-13 09:26:32 -04:00
parent 2db14ae76a
commit 2e75d39c2d
3 changed files with 4 additions and 2 deletions
+2
View File
@@ -45,6 +45,8 @@ vim.g.blinky = true ---@type boolean Options: <true|false>
vim.g.rootiest_cmd = false ---@type boolean Options: <true|false> vim.g.rootiest_cmd = false ---@type boolean Options: <true|false>
-- Use experimental cmp performance fork -- Use experimental cmp performance fork
vim.g.cmp_performance_enabled = true ---@type boolean Options: <true|false> vim.g.cmp_performance_enabled = true ---@type boolean Options: <true|false>
-- Use dev mode for rootiest plugins
vim.g.rootiest_dev = false ---@type boolean Options: <true|false>
-- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ AI TOOL ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ -- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ AI TOOL ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
vim.g.aitool = "neocodeium" ---@type string Options: [ai tool] vim.g.aitool = "neocodeium" ---@type string Options: [ai tool]
+1 -1
View File
@@ -16,5 +16,5 @@ return { -- Astral
"default", "default",
}, },
}, },
dev = true, -- Use local codebase dev = vim.g.rootiest_dev or false, -- Use local codebase
} }
+1 -1
View File
@@ -20,5 +20,5 @@ return { -- Neovim Updater
desc = "Debug Build Neovim", desc = "Debug Build Neovim",
}, },
}, },
dev = true, dev = vim.g.rootiest_dev or false,
} }