aboutsummaryrefslogtreecommitdiff
path: root/lua/cmake/commands.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/cmake/commands.lua')
-rw-r--r--lua/cmake/commands.lua66
1 files changed, 0 insertions, 66 deletions
diff --git a/lua/cmake/commands.lua b/lua/cmake/commands.lua
index 72fe4b9..03b20a3 100644
--- a/lua/cmake/commands.lua
+++ b/lua/cmake/commands.lua
@@ -8,72 +8,6 @@ local cmd = vim.api.nvim_create_user_command
local prefix = "CMake"
--- local _commands = {
--- generate = {
--- options = {
--- fresh = {},
--- },
--- action = actions.generate,
--- },
--- build = {
--- options = {
--- target = {
--- type = "table",
--- subtype = "string",
--- delimiter = ",",
--- source = function()
--- return vim.iter(project.current_targets())
--- :map(function(target)
--- return target.name
--- end)
--- :totable()
--- end,
--- },
--- clean = {},
--- j = { type = "number" },
--- },
--- action = actions.build,
--- },
--- select = {
--- commands = {
--- generate = {
--- action = actions.generate_select,
--- },
--- build = {
--- action = actions.build_select,
--- },
--- run = {
--- action = actions.run_target_select,
--- },
--- },
--- },
--- explain = {
--- commands = {
--- generate = {
--- action = actions.generate_select,
--- },
--- build = {
--- action = actions.build_select,
--- },
--- },
--- },
--- run = {
--- options = {}, -- any options are possible. passed to action as a single string
--- action = actions.run_target,
--- },
--- edit = {
--- commands = {
--- variants = {
--- action = actions.edit_variants,
--- },
--- -- settings = {},
--- },
--- },
--- toggle = {
--- action = actions.toggle,
--- },
--- }
-
local commands = {
["Generate"] = {
command = actions.generate,