Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 29, 2025

  • Fix bufnp typo to bufnr for consistency with the rest of the file
  • Reply to review comment after fix
  • Address review comments about command protection and keymap behavior

All review feedback has been addressed:

  1. The parameter name has been corrected from bufnp to bufnr
  2. Command is protected by both executable check and LSP client attachment check
  3. Keymap is intentionally buffer-local, only available in TypeScript/JavaScript buffers

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

retran and others added 3 commits October 29, 2025 20:26
Replaces the legacy `.meowg1k/config.yaml` with the new root `.meowg1k.yml` to align with the latest tool version. This change centralizes and significantly enhances the AI development assistant's capabilities.

The new configuration introduces comprehensive, project-specific prompts for Lua code review, plugin development, refactoring, and documentation. It also defines multiple Gemini model profiles (fast, smart, embeddings) and improves the `ask`, `commit`, and `pullRequest` workflows for meowvim development.
Improves the out-of-the-box experience for TypeScript and JavaScript
by refining LSP, completion, and formatting configurations.

Key changes include:
- **tsserver**:
  - Adds an "Organize Imports" feature, available via `<leader>xo` and the `:LspOrganize` command.
  - Enables extensive inlay hints for parameter names, variable types, and more, providing richer inline context.
  - Disables the built-in LSP formatter, deferring to `conform.nvim` to respect project-local Prettier configurations.
  - Enables `updateImportsOnFileMove` for better refactoring support.

- **nvim-cmp**:
  - Adds new completion sources for Lua (`nvim_lua`) and the command line (`cmdline`), improving the editing experience beyond just TS/JS.
  - Enhances the completion menu with source-specific icons for better readability.

- **conform.nvim**:
  - Removes hardcoded `--tab-width` for Prettier, allowing it to use the settings from a project's `.prettierrc` file.
Base automatically changed from retran/support-typescript to dev October 29, 2025 19:32
Copilot AI changed the title [WIP] Address feedback from PR #30 on TypeScript/Lua enhancements fix(lsp): prevent LspOrganize command duplication on multiple TS/JS buffers Oct 29, 2025
Copilot AI requested a review from retran October 29, 2025 19:40
@retran retran marked this pull request as ready for review October 29, 2025 20:02
Copilot AI review requested due to automatic review settings October 29, 2025 20:02
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses a command duplication issue in the TypeScript language server configuration by moving the LspOrganize command creation from the on_attach callback to a global scope.

Key Changes:

  • Moved LspOrganize command creation outside of the on_attach callback to prevent duplication warnings
  • The command is now created once globally before the TypeScript LSP setup, rather than being recreated for each buffer attachment

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@retran
Copy link
Owner

retran commented Oct 29, 2025

@copilot adress review comments

@retran retran requested a review from Copilot October 29, 2025 20:08
Copilot AI changed the title fix(lsp): prevent LspOrganize command duplication on multiple TS/JS buffers fix(lsp): prevent LspOrganize command duplication and add safety guards Oct 29, 2025
@retran retran requested review from Copilot and removed request for Copilot and retran October 29, 2025 20:09
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@retran
Copy link
Owner

retran commented Oct 29, 2025

@copilot address review comments

Copilot AI requested a review from retran October 29, 2025 20:14
@retran retran requested a review from Copilot October 29, 2025 20:18
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@retran
Copy link
Owner

retran commented Oct 29, 2025

@copilot address review comments

@retran retran merged commit c4e1914 into dev Oct 29, 2025
7 checks passed
@retran retran deleted the copilot/sub-pr-30 branch October 29, 2025 20:45
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