Skip to content

Conversation

@john-mutuma
Copy link
Owner

What does this PR do?

This PR enhances the Avante AI plugin integration by optimizing file operation capabilities and improving the visual styling of the interface. The changes focus on better integration with Neovim's native capabilities through the MCP server while providing a more polished user experience.

Changes made:

  • Disabled built-in write_to_file capability in favor of Neovim MCP server's edit_file tool
  • Updated Avante sidebar horizontal separator highlight styling

Why is it needed?

The built-in write_to_file tool in Avante was less optimal compared to using Neovim's native file editing capabilities through the MCP server. By disabling the built-in tool, we ensure:

  • Better integration with Neovim's native file editing capabilities
  • Consistent file operations through the Neovim environment
  • More reliable file handling during AI interactions
  • Enhanced user experience with improved visual styling

How have the changes been tested?

  • Verified that Avante AI assistant can still perform file operations using the Neovim MCP server's edit_file tool
  • Tested the visual improvements in the Avante sidebar
  • Confirmed that the disabled tools list properly excludes the built-in write_to_file capability

Screenshots (if applicable)

N/A - These are configuration and styling changes that improve functionality rather than visual interface changes.

Checklist

  • Code follows the project's Lua coding standards
  • Changes are properly documented in commit messages
  • File operations work correctly through Neovim MCP server
  • Avante AI integration maintains full functionality
  • No breaking changes to existing workflows
  • Visual styling improvements are applied correctly

John Mutuma added 2 commits July 22, 2025 11:48
- Change AvanteSidebarWinHorizontalSeparator from FloatBorder to MiniTablineTabpagesection

- Improves visual consistency with tabline styling

Signed-off-by: John Mutuma <johnmutuma@microsoft.com>
…file tool

- Added write_to_file to disabled_tools list in Avante configuration
- This allows the Neovim MCP server's edit_file tool to be used instead
- Provides better integration with Neovim's native file editing capabilities
- Ensures consistent file operations through the Neovim environment
@john-mutuma john-mutuma changed the title 2025-01-22: Improved Avante AI Integration with Neovim MCP Server 2025-07-22: Improved Avante AI Integration with Neovim MCP Server Jul 22, 2025
@john-mutuma john-mutuma merged commit b80d947 into develop Jul 22, 2025
@john-mutuma john-mutuma deleted the user/johnmutuma/continous-improvements branch July 22, 2025 11:56
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