local M = {}

M.config {

}

function M.complete()

end

function M.setup(opts)

  vim.keymap.set('n', '<leader>qa', M.complete, { desc = "Complete the suggested coded snippet."})

  vim.api.nvim_create_autocmd("BufWritePost", {
    pattern = "*",
    callback = M.on_buffer_save(),
    desc = "Buffer save autocmd for auto completions",
  })

end


-- when the buffer is saved, we want to update the vector db and query for suggestions.
function M.on_buffer_save()
  vim.notify("Creating auto-complete suggestion...")

end

return M
