Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: nvim v0.10 support #1260

Draft
wants to merge 67 commits into
base: main
Choose a base branch
from
Draft

feat!: nvim v0.10 support #1260

wants to merge 67 commits into from

Conversation

ayamir
Copy link
Owner

@ayamir ayamir commented May 20, 2024

There are few problems need to be solved.

  • Error when open a lua file firstly.
image image

Nvim 0.10 changes are in here: https://neovim.io/doc/user/news-0.10.html

ClSlaid and others added 30 commits May 23, 2023 16:24
* feat: implement inlay virtual text for rust and go

Signed-off-by: 蔡略 <[email protected]>

* fix: go-nvim use lsp-inlayhints.nvim only

Signed-off-by: 蔡略 <[email protected]>

* refactor: move inlay-hints to `completion`

Signed-off-by: 蔡略 <[email protected]>

* feat: lua support

Signed-off-by: 蔡略 <[email protected]>

* chore(inlay-hints): remove `sumneko_lua`

* fix: set inlay-hints debug mode off

Signed-off-by: 蔡略 <[email protected]>

---------

Signed-off-by: 蔡略 <[email protected]>
Co-authored-by: Charles Chiu <[email protected]>
Signed-off-by: ayamir <[email protected]>
* workaroud for watchfile problem

* fix CI
ayamir and others added 8 commits June 2, 2024 10:43
* chore: use vim.lsp.get_clients in place of vim.lsp.get_active_clients.

Signed-off-by: ayamir <[email protected]>

* chore: use vim.lsp.get_clients in place of vim.lsp.buf_get_clients.

Signed-off-by: ayamir <[email protected]>

---------

Signed-off-by: ayamir <[email protected]>
* set ts-context floatterm zindex to 50 which greater than 45.

default zindex of glance [dnlhc/glance.nvim] floatterm is 45.
It can display on glance.

Signed-off-by: mjkx <[email protected]>

* set trim_scope to inner

Signed-off-by: mjkx <[email protected]>

* perf: add discription

---------

Signed-off-by: mjkx <[email protected]>
Co-authored-by: CharlesChiuGit <[email protected]>
I recently refactored my frequently used commands and
thought it would be great to also port that here lol

Signed-off-by: Jint-lzxy <[email protected]>
* feat(docs): support v0.10

Signed-off-by: Jint-lzxy <[email protected]>

* fix instructions

Signed-off-by: Jint-lzxy <[email protected]>

---------

Signed-off-by: Jint-lzxy <[email protected]>
Signed-off-by: Jint-lzxy <[email protected]>
@Jint-lzxy Jint-lzxy changed the title Migrate to 0.10 stable feat!: nvim v0.10 support Jun 7, 2024
@Jint-lzxy Jint-lzxy mentioned this pull request Jun 9, 2024
Jint-lzxy and others added 11 commits June 9, 2024 22:40
Signed-off-by: Jint-lzxy <[email protected]>
Signed-off-by: Jint-lzxy <[email protected]>
* feat(trouble)!: v3 support

This PR includes the following changes:

- *REMOVED* all features unrelated to the original purpose of
  trouble.nvim, such as LSP References (Glance.nvim covers this) and
  qf-list preview (bqf handles this).

- Added a custom mapping for searching project diagnostics. This is
  slightly different from workspace diagnostics: one is defined by
  the language server itself (e.g., see LuaLS's documentation on workspace
  diagnostics), while the other is determined with assistance from Project.nvim.

- General cleanup: I deliberately excluded LspKind support from our
  config this time bc imho it's a feature we likely won't use and
  supporting it is a real hassle.

Signed-off-by: Jint-lzxy <[email protected]>

* fixup! Missing one option

* fix: invoke `utils.load_plugin`

Signed-off-by: Jint-lzxy <[email protected]>

---------

Signed-off-by: Jint-lzxy <[email protected]>
This PR significantly updates the icon library by expanding its
content, removing duplicates, and organizing icons into more cohesive
groups.

I've also created a custom Dropbar config that uses these icons and
adds toggleterm support.

* fix typo

* Oops... Missing one icon

* fix: invoke `utils.load_plugin`

Signed-off-by: Jint-lzxy <[email protected]>
iirc this is deprecated

Signed-off-by: Jint-lzxy <[email protected]>
* feat(ibl): support per-language indent config

Signed-off-by: Jint-lzxy <[email protected]>

* fixup! feat(ibl): support per-language indent config

---------

Signed-off-by: Jint-lzxy <[email protected]>
* feat(ibl): more language nodes

Signed-off-by: Jint-lzxy <[email protected]>

* feat(ibl): even more language nodes

Signed-off-by: Charles Chiu <[email protected]>

* chore(ibl): sorting

Signed-off-by: Charles Chiu <[email protected]>

---------

Signed-off-by: Jint-lzxy <[email protected]>
Signed-off-by: Charles Chiu <[email protected]>
Co-authored-by: Charles Chiu <[email protected]>
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.

[migration] Nvim 0.10 Support replace vim.tbl_islist() with vim.islist() after NVIM v0.10.0-dev-2560
8 participants