Skip to content

Conversation

@realEbi
Copy link
Owner

@realEbi realEbi commented Dec 7, 2025

Feature: Dynamic Configuration and Display Window Options

  • Runtime Configuration:

    • A new :AskCodeConfig command is introduced for setting (:AskCodeConfig ) and getting (:AskCodeConfig ) configurations dynamically. The command also supports tab-completion.

    • The configuration can be accessed programmatically with require("askCode").get_config() and require("askCode").set_config().

    • Window Display Options:

      • Added a window.type option to allow users to choose between float, vertical, or horizontal layouts for the display window.
  • Other improvements:

    • Updated the AmazonQ agent to use kiro-cli instead of q.
    • Renamed repository URL to realEbi/askCode.

Implement a comprehensive configuration management system allowing runtime inspection and modification of settings.

This change includes:
 * Adding get, set, reset_config, and get_all_keys functions in lua/askCode/config.lua to handle dynamic configuration access, including automatic type conversion for common values.
 * Exposing get_config and set_config in lua/askCode/init.lua for programmatic interaction.
 * Introducing the :AskCodeConfig Neovim user command in plugin/askCode.lua with tab completion, enabling users to inspect and modify configuration values directly.
 * Updating README.md to document the new configuration management features and command usage.
 * Adding extensive unit tests for the new get, set, and reset_config functionalities in tests/test_config.lua.
 * Updating repository owner links from e3oroush to realEbi in README.md.
@realEbi realEbi merged commit 3c61f4c into main Dec 7, 2025
1 check 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.

2 participants