Skip to content

refactor(mason): support for mason and mason-lspconfig v2#1466

Merged
ayamir merged 1 commit into
ayamir:0.11from
misumisumi:upstream/refactor/mason_v2
May 23, 2025
Merged

refactor(mason): support for mason and mason-lspconfig v2#1466
ayamir merged 1 commit into
ayamir:0.11from
misumisumi:upstream/refactor/mason_v2

Conversation

@misumisumi

Copy link
Copy Markdown
Collaborator

Having reviewed the release note, it appears we can support the new API without significant changes to the existing code.
This provides a base for considering v2 support.

Currently, we provide our own handlers, but we could leverage Neovim's built-in mechanism for this.
Specifically, we can create a file at after/lsp/<lsp-name>.lua within the project root. In my local environment, this allowed me to override the LSP settings.
However, this approach might make it more difficult to separate user configurations from the repository's defaults.

@ayamir

ayamir commented May 14, 2025

Copy link
Copy Markdown
Owner

Seems this config won't work? luals can't be autostarted now.

@misumisumi

Copy link
Copy Markdown
Collaborator Author

It can be started in my environment.
Did you update mazon.nvim and mason-lspconfig.nvim?

@misumisumi

Copy link
Copy Markdown
Collaborator Author

Ah, I understand. There was a cache left in my configuration. It didn't work on a new installation...

@misumisumi
misumisumi force-pushed the upstream/refactor/mason_v2 branch from 0464c96 to 3fca662 Compare May 19, 2025 05:07
@misumisumi
misumisumi force-pushed the upstream/refactor/mason_v2 branch from 3fca662 to 0ff5c6e Compare May 19, 2025 05:09
@misumisumi

Copy link
Copy Markdown
Collaborator Author

Does this work?

@ayamir

ayamir commented May 19, 2025

Copy link
Copy Markdown
Owner

Yes, it works now. Does current impl not support customized lsp config in the previous way?

@misumisumi

misumisumi commented May 19, 2025

Copy link
Copy Markdown
Collaborator Author

I just changed it to use the native API instead of configuring it from mason-lspconfig.
We can override the original configuration in vim.lsp.config.
The format doesn't seem to have changed, so I think it's fine to change this part alone.

refs:

@ayamir
ayamir merged commit df1f86a into ayamir:0.11 May 23, 2025
@misumisumi
misumisumi deleted the upstream/refactor/mason_v2 branch May 25, 2025 03:52
Comment thread lua/modules/configs/completion/mason-lspconfig.lua
@charliie-dev

This comment was marked as resolved.

@ayamir

This comment was marked as resolved.

ayamir added a commit that referenced this pull request May 26, 2025
Jint-lzxy added a commit that referenced this pull request Aug 1, 2025
Jint-lzxy added a commit that referenced this pull request Aug 3, 2025
Just wrapped up going thru all the changes in mason 2.x (and nvim 0.11 too)!
This should be a follow up to #1466 and (hopefully) fix all the issues related
to the updated LSP API (like servers not spawning and other weirdness) and works
together w #1496.

Acc the main issue was that some mason package names don't match their names in
lspconfig, so just using `lsp_deps` directly works for most, but breaks a bunch
of others (tldr: that mismatch is what was causing all the edge cases and broken
behavior).

I also went ahead and enabled `automatic_installation` because why not lol means
we don't have to manually call `vim.lsp.enable()` for everything, which might
save a tiny bit of perf too.

Didn't test this super thoroughly yet so pls lmk if anything's still broken!

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>
ayamir pushed a commit that referenced this pull request Aug 4, 2025
* Revert "fix: remove manual `LspStart`, close #1478. (#1479)"

This reverts commit 7dab4b9.

* Revert "fixup(#1466): load lsp config with proper event. (#1472)"

This reverts commit 53eeeec.

* fix: LSP start logic

This should acc fix #1472 and #1479 cuz iirc the root cause was that lspconfig
changed how `LspStart` works. Now it only starts one _specific_ server (passed
via the first argument), instead of starting all matching servers automatically.
So we gotta manually start all the servers that match the current filetype
instead.

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

---------

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>
ayamir added a commit that referenced this pull request Aug 7, 2025
* Revert "fix: remove manual `LspStart`, close #1478. (#1479)"

This reverts commit 7dab4b9.

* Revert "fixup(#1466): load lsp config with proper event. (#1472)"

This reverts commit 53eeeec.

* fix: LSP start logic

This should acc fix #1472 and #1479 cuz iirc the root cause was that lspconfig
changed how `LspStart` works. Now it only starts one _specific_ server (passed
via the first argument), instead of starting all matching servers automatically.
So we gotta manually start all the servers that match the current filetype
instead.

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

* fix: redundant return

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

* fix: invoke `:LspStart` correctly

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

---------

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>
Co-authored-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>
ayamir added a commit that referenced this pull request Aug 7, 2025
* feat(mason)!: migrate to v2.x

Just wrapped up going thru all the changes in mason 2.x (and nvim 0.11 too)!
This should be a follow up to #1466 and (hopefully) fix all the issues related
to the updated LSP API (like servers not spawning and other weirdness) and works
together w #1496.

Acc the main issue was that some mason package names don't match their names in
lspconfig, so just using `lsp_deps` directly works for most, but breaks a bunch
of others (tldr: that mismatch is what was causing all the edge cases and broken
behavior).

I also went ahead and enabled `automatic_installation` because why not lol means
we don't have to manually call `vim.lsp.enable()` for everything, which might
save a tiny bit of perf too.

Didn't test this super thoroughly yet so pls lmk if anything's still broken!

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

* fixup! feat(mason)!: migrate to v2.x

* fixup! feat(mason)!: migrate to v2.x

* fixup! feat(mason)!: migrate to v2.x

* fix: LSP start logic (#1496)

* Revert "fix: remove manual `LspStart`, close #1478. (#1479)"

This reverts commit 7dab4b9.

* Revert "fixup(#1466): load lsp config with proper event. (#1472)"

This reverts commit 53eeeec.

* fix: LSP start logic

This should acc fix #1472 and #1479 cuz iirc the root cause was that lspconfig
changed how `LspStart` works. Now it only starts one _specific_ server (passed
via the first argument), instead of starting all matching servers automatically.
So we gotta manually start all the servers that match the current filetype
instead.

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

---------

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

* fix: unresolved nvim_lsp

* feat(lsp): unify language server setup

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

---------

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>
Co-authored-by: ayamir <lgt986452565@gmail.com>
charliie-dev added a commit that referenced this pull request Apr 1, 2026
* feat: use vim.env and vim.uv for env and cwd access (#1507)

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

* fix: LSP start logic (#1504)

* Revert "fix: remove manual `LspStart`, close #1478. (#1479)"

This reverts commit 7dab4b9.

* Revert "fixup(#1466): load lsp config with proper event. (#1472)"

This reverts commit 53eeeec.

* fix: LSP start logic

This should acc fix #1472 and #1479 cuz iirc the root cause was that lspconfig
changed how `LspStart` works. Now it only starts one _specific_ server (passed
via the first argument), instead of starting all matching servers automatically.
So we gotta manually start all the servers that match the current filetype
instead.

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

* fix: redundant return

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

* fix: invoke `:LspStart` correctly

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

---------

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>
Co-authored-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

* feat(mason)!: migrate to v2.x (#1502)

* feat(mason)!: migrate to v2.x

Just wrapped up going thru all the changes in mason 2.x (and nvim 0.11 too)!
This should be a follow up to #1466 and (hopefully) fix all the issues related
to the updated LSP API (like servers not spawning and other weirdness) and works
together w #1496.

Acc the main issue was that some mason package names don't match their names in
lspconfig, so just using `lsp_deps` directly works for most, but breaks a bunch
of others (tldr: that mismatch is what was causing all the edge cases and broken
behavior).

I also went ahead and enabled `automatic_installation` because why not lol means
we don't have to manually call `vim.lsp.enable()` for everything, which might
save a tiny bit of perf too.

Didn't test this super thoroughly yet so pls lmk if anything's still broken!

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

* fixup! feat(mason)!: migrate to v2.x

* fixup! feat(mason)!: migrate to v2.x

* fixup! feat(mason)!: migrate to v2.x

* fix: LSP start logic (#1496)

* Revert "fix: remove manual `LspStart`, close #1478. (#1479)"

This reverts commit 7dab4b9.

* Revert "fixup(#1466): load lsp config with proper event. (#1472)"

This reverts commit 53eeeec.

* fix: LSP start logic

This should acc fix #1472 and #1479 cuz iirc the root cause was that lspconfig
changed how `LspStart` works. Now it only starts one _specific_ server (passed
via the first argument), instead of starting all matching servers automatically.
So we gotta manually start all the servers that match the current filetype
instead.

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

---------

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

* fix: unresolved nvim_lsp

* feat(lsp): unify language server setup

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

---------

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>
Co-authored-by: ayamir <lgt986452565@gmail.com>

* chore(lockfile): auto update lazy-lock.json

* refactor(tool): simplify fzf-lua usage and improve lazy loading (#1506)

* refactor(tool): simplify fzf-lua usage and improve lazy loading

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

* feat: minor optimizations

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

* style: remove reduntant short circuit logic.

---------

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>
Co-authored-by: ayamir <lgt986452565@gmail.com>

* fix: avoid require nil.

* chore(lockfile): auto update lazy-lock.json

* fix(event): fix "Autojump to last edit" event (#1509)

* chore(lockfile): auto update lazy-lock.json

* chore(gh_act): update components (#1510)

* chore(lockfile): auto update lazy-lock.json

* fix: abnormal window behavior when use fzf (#1511)

* chore(lockfile): auto update lazy-lock.json

* fix(project_nvim): rename module name to project (#1514)

* chore(lockfile): auto update lazy-lock.json

* fix: adapt codecompanion newest api

* chore(lockfile): auto update lazy-lock.json

* fix: use realpath of vim related path (#1516)

* chore(lockfile): auto update flake.lock

* fix: only use realpath for vim_path (#1522)

* chore(lockfile): auto update lazy-lock.json

* fix: typos in comment and install message (#1525)

* chore(lockfile): auto update lazy-lock.json

* chore(lockfile): auto update flake.lock

* fix: temporarily disable project.nvim 'lsp' attach mode (#1529)

See
[DrKJeff16/project.nvim#24](DrKJeff16/project.nvim#24)
for details

* chore(lockfile): auto update lazy-lock.json

* fix(lspconfig): remove deprecated legacy framework of lspconfig (#1530)

Co-authored-by: misumisumi <s.kobayashi@misumi-sumi.com>

* fix(#1520): disable swapfile (#1531)

* chore(lockfile): auto update lazy-lock.json

* perf(ci): update ci config (#1534)

* perf(ci): make bot commit verified and add `dependabot` for ci component autoupdate

* chore(doc): update username from `CharlesChiuGit` to `charliie-dev`

* chore(lockfile): auto update lazy-lock.json

* fix(lockfile): update flake.lock to make ci works (#1535)

* chore(ci): set schedule to every 2 week (#1536)

* chore(lockfile): auto update lazy-lock.json

* chore(lockfile): auto update flake.lock

* fix(project): re-enable LSP detection (#1539)

Signed-off-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>

* chore(lockfile): auto update lazy-lock.json

* feat(python-lsp)!: replace the old pylsp with zuban and ruff (#1528)

* chore(lockfile): auto update lazy-lock.json

* chore(ci.deps): bump actions/checkout in the actions-dependencies group (#1542)

Bumps the actions-dependencies group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 5 to 6
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(lockfile): auto update lazy-lock.json

* chore: pin codecompanion in case breaking change temprarily (#1543)

details: olimorris/codecompanion.nvim#2439

Co-authored-by: liuguangtian.1024 <liuguangtian.1024@bytedance.com>

* chore(lockfile): auto update flake.lock

* chore(lockfile): auto update lazy-lock.json

* [migration] set nvim-treesitter to main branch, close #1541 (#1544)

* feat!(plugins.editor): set `nvim-treesitter` and `nvim-treesitter-textobjects` branch to `main`

* fix(lockfile): manually remove lockfile to make branch-changing effective

* feat!(configs.editor): migrate `treesitter` and `ts-textobjects` config

* feat!(keymap.editor): move `ts-textobjects`' keymap here

---------

Signed-off-by: Charles Chiu <mail@charliie.dev>

* chore(lockfile): auto update lazy-lock.json

* fix(edgy): add nil check for toggleterm terminal (#1546)

Fixes #1545

When toggleterm terminal has not been created yet, `require("toggleterm.terminal").get(1)` returns nil, causing an error when trying to access `term.direction`.

This commit adds a nil check before accessing the direction property to prevent the error.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>

* chore(lockfile): auto update lazy-lock.json

* fix(treesitter): add autocmd for highlight and fix load plugin (#1547)

Co-authored-by: misumisumi <s.kobayashi@misumi-sumi.com>

* chore(lockfile): auto update lazy-lock.json

* chore(lockfile): auto update flake.lock

* chore(lockfile): auto update flake.lock

* fix: using project's clang-format config first. (#1550)

* fix: using project's clang-format config first.

* fix: style lua ci/cd

* chore(lockfile): auto update lazy-lock.json

* chore(lockfile): auto update flake.lock

* fix(ruff): use project config first (#1558)

* Fix deprecated tree-sitter package and update codecompanion v18 (#1557)

* fix(codecompanion): update to v18

* fix(settings): remove jsonc treesitter

- jsonc is not available on upstream by nvim-treesitter/nvim-treesitter#8316

---------

Co-authored-by: misumisumi <s.kobayashi@misumi-sumi.com>

* chore(lockfile): auto update lazy-lock.json

* chore(tool.project): update `project.nvim` config (#1559)

* chore(lockfile): auto update lazy-lock.json

* chore(lockfile): auto update flake.lock

* chore(lockfile): auto update flake.lock

* chore(lockfile): auto update flake.lock

* feat(keymap): add `<leader>dC` to close dapui.

#1552

* chore(lockfile): auto update lazy-lock.json

* chore(lockfile): auto update flake.lock

* refactor: use telescope/fzf-lua to replace glance.nvim (#1519)

* refactor: use telescope/fzf-lua to replace glance.nvim

* fix(ci): lint code

* refactor(ci): remove lint args

* chore(lockfile): auto update lazy-lock.json

* chore(lockfile): auto update flake.lock

---------

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>
Signed-off-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Charles Chiu <mail@charliie.dev>
Co-authored-by: jint_lzxy_ <50296129+Jint-lzxy@users.noreply.github.com>
Co-authored-by: ayamir <lgt986452565@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: wenqian <lazycat7706@gmail.com>
Co-authored-by: Cloud <60375730+Cloud0310@users.noreply.github.com>
Co-authored-by: MiSumiSumi <dragon511southern@gmail.com>
Co-authored-by: misumisumi <s.kobayashi@misumi-sumi.com>
Co-authored-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: liuguangtian.1024 <liuguangtian.1024@bytedance.com>
Co-authored-by: Zonghao Yuan <64521992+zonghaoyuan@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: ayamir <61657399+ayamir@users.noreply.github.com>
ayamir added a commit that referenced this pull request Jun 27, 2026
* Sync with `main` (#1563)

* feat: use vim.env and vim.uv for env and cwd access (#1507)

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

* fix: LSP start logic (#1504)

* Revert "fix: remove manual `LspStart`, close #1478. (#1479)"

This reverts commit 7dab4b9.

* Revert "fixup(#1466): load lsp config with proper event. (#1472)"

This reverts commit 53eeeec.

* fix: LSP start logic

This should acc fix #1472 and #1479 cuz iirc the root cause was that lspconfig
changed how `LspStart` works. Now it only starts one _specific_ server (passed
via the first argument), instead of starting all matching servers automatically.
So we gotta manually start all the servers that match the current filetype
instead.

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

* fix: redundant return

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

* fix: invoke `:LspStart` correctly

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

---------

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>
Co-authored-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

* feat(mason)!: migrate to v2.x (#1502)

* feat(mason)!: migrate to v2.x

Just wrapped up going thru all the changes in mason 2.x (and nvim 0.11 too)!
This should be a follow up to #1466 and (hopefully) fix all the issues related
to the updated LSP API (like servers not spawning and other weirdness) and works
together w #1496.

Acc the main issue was that some mason package names don't match their names in
lspconfig, so just using `lsp_deps` directly works for most, but breaks a bunch
of others (tldr: that mismatch is what was causing all the edge cases and broken
behavior).

I also went ahead and enabled `automatic_installation` because why not lol means
we don't have to manually call `vim.lsp.enable()` for everything, which might
save a tiny bit of perf too.

Didn't test this super thoroughly yet so pls lmk if anything's still broken!

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

* fixup! feat(mason)!: migrate to v2.x

* fixup! feat(mason)!: migrate to v2.x

* fixup! feat(mason)!: migrate to v2.x

* fix: LSP start logic (#1496)

* Revert "fix: remove manual `LspStart`, close #1478. (#1479)"

This reverts commit 7dab4b9.

* Revert "fixup(#1466): load lsp config with proper event. (#1472)"

This reverts commit 53eeeec.

* fix: LSP start logic

This should acc fix #1472 and #1479 cuz iirc the root cause was that lspconfig
changed how `LspStart` works. Now it only starts one _specific_ server (passed
via the first argument), instead of starting all matching servers automatically.
So we gotta manually start all the servers that match the current filetype
instead.

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

---------

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

* fix: unresolved nvim_lsp

* feat(lsp): unify language server setup

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

---------

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>
Co-authored-by: ayamir <lgt986452565@gmail.com>

* chore(lockfile): auto update lazy-lock.json

* refactor(tool): simplify fzf-lua usage and improve lazy loading (#1506)

* refactor(tool): simplify fzf-lua usage and improve lazy loading

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

* feat: minor optimizations

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>

* style: remove reduntant short circuit logic.

---------

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>
Co-authored-by: ayamir <lgt986452565@gmail.com>

* fix: avoid require nil.

* chore(lockfile): auto update lazy-lock.json

* fix(event): fix "Autojump to last edit" event (#1509)

* chore(lockfile): auto update lazy-lock.json

* chore(gh_act): update components (#1510)

* chore(lockfile): auto update lazy-lock.json

* fix: abnormal window behavior when use fzf (#1511)

* chore(lockfile): auto update lazy-lock.json

* fix(project_nvim): rename module name to project (#1514)

* chore(lockfile): auto update lazy-lock.json

* fix: adapt codecompanion newest api

* chore(lockfile): auto update lazy-lock.json

* fix: use realpath of vim related path (#1516)

* chore(lockfile): auto update flake.lock

* fix: only use realpath for vim_path (#1522)

* chore(lockfile): auto update lazy-lock.json

* fix: typos in comment and install message (#1525)

* chore(lockfile): auto update lazy-lock.json

* chore(lockfile): auto update flake.lock

* fix: temporarily disable project.nvim 'lsp' attach mode (#1529)

See
[DrKJeff16/project.nvim#24](DrKJeff16/project.nvim#24)
for details

* chore(lockfile): auto update lazy-lock.json

* fix(lspconfig): remove deprecated legacy framework of lspconfig (#1530)

Co-authored-by: misumisumi <s.kobayashi@misumi-sumi.com>

* fix(#1520): disable swapfile (#1531)

* chore(lockfile): auto update lazy-lock.json

* perf(ci): update ci config (#1534)

* perf(ci): make bot commit verified and add `dependabot` for ci component autoupdate

* chore(doc): update username from `CharlesChiuGit` to `charliie-dev`

* chore(lockfile): auto update lazy-lock.json

* fix(lockfile): update flake.lock to make ci works (#1535)

* chore(ci): set schedule to every 2 week (#1536)

* chore(lockfile): auto update lazy-lock.json

* chore(lockfile): auto update flake.lock

* fix(project): re-enable LSP detection (#1539)

Signed-off-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>

* chore(lockfile): auto update lazy-lock.json

* feat(python-lsp)!: replace the old pylsp with zuban and ruff (#1528)

* chore(lockfile): auto update lazy-lock.json

* chore(ci.deps): bump actions/checkout in the actions-dependencies group (#1542)

Bumps the actions-dependencies group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 5 to 6
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(lockfile): auto update lazy-lock.json

* chore: pin codecompanion in case breaking change temprarily (#1543)

details: olimorris/codecompanion.nvim#2439

Co-authored-by: liuguangtian.1024 <liuguangtian.1024@bytedance.com>

* chore(lockfile): auto update flake.lock

* chore(lockfile): auto update lazy-lock.json

* [migration] set nvim-treesitter to main branch, close #1541 (#1544)

* feat!(plugins.editor): set `nvim-treesitter` and `nvim-treesitter-textobjects` branch to `main`

* fix(lockfile): manually remove lockfile to make branch-changing effective

* feat!(configs.editor): migrate `treesitter` and `ts-textobjects` config

* feat!(keymap.editor): move `ts-textobjects`' keymap here

---------

Signed-off-by: Charles Chiu <mail@charliie.dev>

* chore(lockfile): auto update lazy-lock.json

* fix(edgy): add nil check for toggleterm terminal (#1546)

Fixes #1545

When toggleterm terminal has not been created yet, `require("toggleterm.terminal").get(1)` returns nil, causing an error when trying to access `term.direction`.

This commit adds a nil check before accessing the direction property to prevent the error.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>

* chore(lockfile): auto update lazy-lock.json

* fix(treesitter): add autocmd for highlight and fix load plugin (#1547)

Co-authored-by: misumisumi <s.kobayashi@misumi-sumi.com>

* chore(lockfile): auto update lazy-lock.json

* chore(lockfile): auto update flake.lock

* chore(lockfile): auto update flake.lock

* fix: using project's clang-format config first. (#1550)

* fix: using project's clang-format config first.

* fix: style lua ci/cd

* chore(lockfile): auto update lazy-lock.json

* chore(lockfile): auto update flake.lock

* fix(ruff): use project config first (#1558)

* Fix deprecated tree-sitter package and update codecompanion v18 (#1557)

* fix(codecompanion): update to v18

* fix(settings): remove jsonc treesitter

- jsonc is not available on upstream by nvim-treesitter/nvim-treesitter#8316

---------

Co-authored-by: misumisumi <s.kobayashi@misumi-sumi.com>

* chore(lockfile): auto update lazy-lock.json

* chore(tool.project): update `project.nvim` config (#1559)

* chore(lockfile): auto update lazy-lock.json

* chore(lockfile): auto update flake.lock

* chore(lockfile): auto update flake.lock

* chore(lockfile): auto update flake.lock

* feat(keymap): add `<leader>dC` to close dapui.

#1552

* chore(lockfile): auto update lazy-lock.json

* chore(lockfile): auto update flake.lock

* refactor: use telescope/fzf-lua to replace glance.nvim (#1519)

* refactor: use telescope/fzf-lua to replace glance.nvim

* fix(ci): lint code

* refactor(ci): remove lint args

* chore(lockfile): auto update lazy-lock.json

* chore(lockfile): auto update flake.lock

---------

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>
Signed-off-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Charles Chiu <mail@charliie.dev>
Co-authored-by: jint_lzxy_ <50296129+Jint-lzxy@users.noreply.github.com>
Co-authored-by: ayamir <lgt986452565@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: wenqian <lazycat7706@gmail.com>
Co-authored-by: Cloud <60375730+Cloud0310@users.noreply.github.com>
Co-authored-by: MiSumiSumi <dragon511southern@gmail.com>
Co-authored-by: misumisumi <s.kobayashi@misumi-sumi.com>
Co-authored-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: liuguangtian.1024 <liuguangtian.1024@bytedance.com>
Co-authored-by: Zonghao Yuan <64521992+zonghaoyuan@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: ayamir <61657399+ayamir@users.noreply.github.com>

* refactor(cmp): replace nvim-cmp with blink.cmp (#1568)

* refactor(cmp): replace nvim-cmp with blink.cmp

* refactor(cmp): use compatiable menu style

* fix: copilot comments

* refactor(lsp): centralize blink capabilities

* feat(completion): port blink cmp sources

* perf(completion): fix mason and other plugin loading order in `cmdline`

Signed-off-by: charliie-dev <mail@charliie.dev>

* perf(blink): limit `lazydev` source only on `ft=lua`

Signed-off-by: charliie-dev <mail@charliie.dev>

* chore(blink): enable type hint for `blink.cmp`

Signed-off-by: charliie-dev <mail@charliie.dev>

* chore(completion): remove luvit-meta dependency from lazydev

* fix(utils): guard nil colors_name and correct @param typo

* fix(utils): surface require errors in extend_config

* feat(blink): show source-specific icon for ripgrep completions

Add icons.cmp[ctx.source_id] lookup before kind-based icon fallback
so the ripgrep icon (and other source icons) renders in the menu.

---------

Signed-off-by: charliie-dev <mail@charliie.dev>
Co-authored-by: charliie-dev <mail@charliie.dev>

* fix(cmp): reduce blink-ripgrep freeze in complex directories (#1575)

* fix(cmp): reduce blink-ripgrep freeze in complex directories

- Increase prefix_min_len from 2 to 3 to reduce trigger frequency
- Move context_size to correct backend scope and set to 0
- Add --max-count=5 to limit rg output per file

Fixes #1574

* perf(cmp): improve ripgrep performance

* perf(cmp): reduce ripgrep context size

* feat: add minuet-ai as copilot alternative and allow more AI adapter (#1573)

* feat(completion): add minuet prediction source

* refactor(ai): centralize adapter settings

* fix: remove oai-incompatible models from default settings

* fix: lazy load CodeCompanion on commands (#1577)

* chore(api): replace deprecated api invoke (#1564)

* chore(api): replace deprecated api invoke

* chore(api): replace deprecated api

---------

Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>
Signed-off-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Charles Chiu <mail@charliie.dev>
Signed-off-by: charliie-dev <mail@charliie.dev>
Co-authored-by: Charles Chiu <mail@charliie.dev>
Co-authored-by: jint_lzxy_ <50296129+Jint-lzxy@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: wenqian <lazycat7706@gmail.com>
Co-authored-by: Cloud <60375730+Cloud0310@users.noreply.github.com>
Co-authored-by: MiSumiSumi <dragon511southern@gmail.com>
Co-authored-by: misumisumi <s.kobayashi@misumi-sumi.com>
Co-authored-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: liuguangtian.1024 <liuguangtian.1024@bytedance.com>
Co-authored-by: Zonghao Yuan <64521992+zonghaoyuan@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
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.

LSP: mason-lspconfig breaking change in v2

3 participants