Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

V2 Rewrite#2232

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
saghen wants to merge3 commits intomain
base:main
Choose a base branch
Loading
fromv2
Draft

V2 Rewrite#2232

saghen wants to merge3 commits intomainfromv2

Conversation

@saghen
Copy link
Owner

@saghensaghen commentedOct 24, 2025
edited
Loading

This PR is a long ways from running, let alone being stable.Closes#1059. Rather than merging this in, I'll rename the currentmain branch tov1 and rename this branch tomain.

V2 Overall goals:

  • Remove sources in favor of LSPs
    • Include compat layer for existing blink.cmp sources to in-process LSPs
    • Promote building in-process LSPs across the ecosystem (include boilerplate)
  • Simplify codebase as much as possible
    • Consider removing auto brackets, LSPs should support this themselves
    • Switch keymap system tovim.on_key
    • User callscmp.download() to download prebuilt-binaries orcmp.build() to build from source. No automatic download
    • Drop custom documentation rendering, in favor of vim.lsp.utils.convert_input_to_markdown_lines (we have conceal lines now!)
  • Adopt vim.task:https://github.com/lewis6991/async.nvim
  • First-class vim help documentation
  • Adoptiskeyword for keyword regex by default
  • Synchronous API when possible

Configuration goals:

  • Programmatic over declarative
  • Follow neovim patterns as much as possible (refer tovim.lsp.*,vim.lsp.inlay_hint.*, etc.)
  • Easily configure per-buffer, per-LSP, and dynamically
  • First-class vim.pack support
  • Allon_* event handlers also emitUser autocommands

@saghen
Copy link
OwnerAuthor

saghen commentedOct 24, 2025
edited
Loading

If anyone is interested in contributing, please open a PR targeting thev2 branch. Read throughlayout.lua for an idea of the desired API, but feel free to make your own changes, as long as you justify them and they follow the same spirit. Some ideas for what to work on:

  • Convert built-in sources to in-process LSP
    • buffer
    • path
    • cmdline
    • snippets
  • cmp.snippets.registry
  • cmp.keymap
  • Allcmp.*.config/enable/is_enabled

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Goals for v2

2 participants

@saghen

[8]ページ先頭

©2009-2025 Movatter.jp