Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: split init.lua into callbacks/utils/init #15

Merged
merged 5 commits into from
Sep 14, 2024
Merged

Refactor: split init.lua into callbacks/utils/init #15

merged 5 commits into from
Sep 14, 2024

Conversation

S1M0N38
Copy link
Owner

@S1M0N38 S1M0N38 commented Sep 14, 2024

No description provided.

- Added `callbacks.lua` with functions to handle chat completion, completion chunks, and exit events.
- Refactored `init.lua` to use the new callback functions and utility functions.
- Added `utils.lua` with helper functions for buffer operations and placeholder replacements.
…ions

Use `:%Dante README.md` on readme to enhance README.md
- Add `lazy = true` to the installation example in README.md.
- Update the version specification in the installation example in doc/dante.txt.
- Improve clarity and consistency in the documentation.
- Reformat and simplify explanations for better readability.
- Added `---@diagnostic disable-next-line: unused-local` to suppress warnings for unused local variables in `callbacks.lua` and `init.lua`.
@S1M0N38 S1M0N38 merged commit 86d253b into main Sep 14, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant