Initial commit: ideaDrop.nvim plugin with sidebar and idea saving

This commit is contained in:
Carlos
2025-06-14 20:39:13 -04:00
commit fef0bb9266
11 changed files with 484 additions and 0 deletions

24
lua/ideaDrop/config.lua Normal file
View File

@@ -0,0 +1,24 @@
-- ideaDrop/config.lua
---@class Config
---@field options IdeaDropOptions
---@field setup fun(user_opts: IdeaDropOptions|nil): nil
---@class IdeaDropOptions
---@field idea_dir string Directory where idea files will be stored
local M = {}
---Default configuration options
M.options = {
idea_dir = vim.fn.stdpath("data") .. "/ideaDrop" -- default path
}
---Setup function to merge user options with defaults
---@param user_opts IdeaDropOptions|nil User configuration options
---@return nil
function M.setup(user_opts)
M.options = vim.tbl_deep_extend("force", M.options, user_opts or {})
end
return M