vim-jp / vim-jp/vital.vim

[RFC] Neovim サポートに関する方針を決めたい

Open
#482 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vim Script
Stars
587
Forks
64
Avg merge
2d 8h
Merged PRs (30d)
1

Description

現在 vital.vim はテストが Vim 8 のみで行われており Neovim に関係するモジュール(例: lambdalisue/vital-System-Job)などの公式へのバックポートが難しい状態です。

個人的には Neovim と Vim の差異を吸収する上記のようなモジュールもとても便利なので vital.vim 本体でも Neovim をサポートできると良いなと感じています。
そこで Neovim に関してどういう扱いをするかに関して広く意見を拝聴したいと考えています。

とりあえず問題点として

  1. 現存する vital.vim のモジュールは Neovim でも動くのか?
    1. 上記が動くと仮定した場合、動かなくなるような変更を認めるか?
    2. 上記が動かないと仮定した場合、動くように治すべきか?
  2. Neovim でしか動かないようなモジュールを認めるか?
  3. Vim でしか動かないようなモジュールを認めるか?
  4. サポートする Neovim の最低バージョンはどれか?

などがあると思います。皆さんのご意見よろしくお願いします。ちなみに個人的には

  1. vital.vim が提供するものは Neovim でも可能な限り動くべきである
  2. Neovim でしか動かないモジュールはドキュメントに書けば良い(基本的には Vim でも動くように頑張る)
  3. Vim でしか動かないモジュールはドキュメントに書けば良い(基本的には Neovim でも動くように頑張るが lambda など今後 Neovim でもサポートされることが濃厚なものに関しては一時的に Neovim はサポートしない状態でもよしとする)

って感じです。なお themis.vim は Neovim でも動くことが証明されています(例: https://github.com/lambdalisue/gina.vim

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the existing vital.vim modules and the linked lambdalisue/vital-System-Job module, then consider the themis.vim Neovim example mentioned in the issue. The work is complete when the project agrees on Neovim compatibility, allowed Vim-only or Neovim-only modules, and a minimum supported Neovim version.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.