Something went wrong. Try again.
DJ extension for neovim
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233local cmd = require("cmd")
local M = {}
M.config = {}M.command = "Dj"
local subcommands = { hello = { impl = function(_, _) vim.notify("hello from dj.nvim!") end, }, notes = { impl = function(_, _) require("dj.notes").open() end, }, close = { impl = function(_, _) require("dj.notes").close() end, },}
---@param opts? table user configurationfunction M.setup(opts) M.config = vim.tbl_deep_extend("force", M.config, opts or {}) cmd.register(M.command, "DJ commands", subcommands)end
return M