Skip to content

Conversation

@john-mutuma
Copy link
Owner

What does this PR do?

This PR migrates from the legacy github/copilot.vim to the modern zbirenbaum/copilot.lua implementation for better Neovim integration and improved performance. The change also includes updates to multiple plugins and formatting configurations.

  • Migrates Copilot implementation: Replaces copilot.vim with copilot.lua for better Lua-native integration
  • Configures Tab key acceptance: Sets up Tab key to accept Copilot suggestions with auto-trigger enabled
  • Updates CopilotChat dependency: Ensures compatibility between CopilotChat.nvim and the new copilot.lua
  • Adds formatting support: Extends conform.nvim configuration for JSON and Markdown files
  • Updates plugin versions: Bumps multiple plugins to their latest versions

Why is it needed?

  • Better Integration: copilot.lua provides native Lua integration with Neovim, offering better performance and configuration options
  • Improved Workflow: Tab key acceptance for Copilot suggestions creates a more intuitive coding experience
  • Plugin Compatibility: Ensures CopilotChat.nvim works seamlessly with the new Copilot implementation
  • Enhanced Formatting: Adds missing formatter support for JSON and Markdown files
  • Security & Features: Plugin updates include bug fixes, security patches, and new features

How have the changes been tested?

  • Copilot suggestions work correctly with Tab key acceptance
  • CopilotChat.nvim functions properly with the new dependency
  • Auto-trigger functionality works as expected
  • JSON and Markdown formatting works with the updated conform.nvim configuration
  • All updated plugins load without errors

Screenshots (if applicable)

N/A - Configuration changes only

Checklist

  • Migrated from copilot.vim to copilot.lua
  • Configured Tab key for accepting suggestions
  • Updated CopilotChat.nvim dependency
  • Added JSON and Markdown formatting support
  • Updated lazy-lock.json with latest plugin versions
  • Tested Copilot functionality
  • Verified plugin compatibility
  • No breaking changes introduced

John Mutuma added 3 commits July 12, 2025 09:16
- Add prettier and prettierd formatters for JSON files
- Configure stop_after_first to use fastest available formatter
- Maintain consistency with existing JS/TS formatter setup

This enables automatic JSON formatting on save, improving code
consistency across web development projects that include JSON
configuration files, package.json, and API response files.
- Add markdownlint, prettier, and prettierd formatters for markdown
- Configure stop_after_first to use fastest available formatter
- Maintain consistency with existing formatter configuration

Enables automatic markdown formatting on save, improving document
consistency and readability across README files, documentation, and
other markdown content in the project.
- Replace github/copilot.vim with zbirenbaum/copilot.lua for better
  integration with Neovim
- Configure copilot.lua with auto-trigger suggestions and Tab key
  acceptance
- Update CopilotChat.nvim dependency to use copilot.lua instead of
  copilot.vim
- Set suggestion keymap to accept with Tab key for improved workflow

Packages updated:
- CopilotChat.nvim: 55f2162 � f7eb423
- LuaSnip: eda5be8 � 66b5c27
- cmp-path: c6635aa � e52e640
- conform.nvim: 8132ec7 � 973f3cb
- gitsigns.nvim: 1b0350a � 4666d04
- mason-lspconfig.nvim: c4c84f4 � 7815740
- none-ls.nvim: db2a48b � 1280212
- nvim-autopairs: 2647cce � 23320e7
- nvim-dap: 2edd637 � cc77338
- nvim-dap-ui: 73a26ab � cf91d5e
- nvim-lspconfig: 6bba673 � dbdb80d
- nvim-web-devicons: 19d6211 � a133675
- quick-scope: f2b6043 � 6cee1d9
- tiny-inline-diagnostic.nvim: ab5f71b � 7c15957
@john-mutuma john-mutuma merged commit 737a50e into develop Jul 12, 2025
@john-mutuma john-mutuma deleted the user/johnmutuma/continous-improvements branch July 12, 2025 14:36
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