Tags: SamSaffron/CopilotChat.nvim
Tags
docs: add abdennourzahaf as a contributor for doc (CopilotC-Nvim#689) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
fix: correct chat config handling When opening chat and asking questions, ensure proper config inheritance by deep extending chat state config with provided config and global config. Also move config handling before early returns to maintain consistency. Closes CopilotC-Nvim#676 Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
refactor(mappings): improve key mapping API and descriptions Replace direct mapping key access with named mapping lookups to improve code organization. Add descriptive labels to keymaps using the plugin name and mapping name. This change makes the key mapping system more maintainable and provides better documentation in the key binding help.
refactor: improve diff handling implementation Extract diff handling into separate class to reduce code duplication and improve maintainability. Add custom highlighting namespace in diff class and remove redundant code from overlay class. Add utility function for finding lines between patterns. Improve diff accepting/showing logic with proper line number handling. Move highlighting setup into dedicated diff class and make overlay class more focused. Add example for code snippet markdown links in prompts to improve clarity. Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
PreviousNext