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

chore!: deprecate ensure_installed=maintained #2763

Merged
merged 1 commit into from Apr 10, 2022
Merged

chore!: deprecate ensure_installed=maintained #2763

merged 1 commit into from Apr 10, 2022

Conversation

clason
Copy link
Contributor

@clason clason commented Apr 9, 2022

With the increasing number of parsers added to nvim-treesitter, the label "maintained" has stopped being a useful distinction, as just having a maintainer listed at time of inclusion does not entail any stability guarantee implied by this label. Users should explicitly specify the list of parsers that they want to use according to their risk tolerance, or use ensure_installed = 'all' if they insist on drinking from the firehose (not recommended!)

Deprecation period is until April 30; hopefully that will leave enough time for the ecosystem to adapt.
The warning is emitted from parsers.maintained_parsers() in the hope that this will be most visible (and not break CI).

@theHamsta @vigoux @kyazdani42

@clason
Copy link
Contributor Author

clason commented Apr 9, 2022

(updated the documentation and README as well)

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
BREAKING CHANGE: specify explicit list or use `ensure_installed='all'`
(not recommended)
@clason
Copy link
Contributor Author

clason commented Apr 10, 2022

I've removed all mention of "maintained" from the documentation.

@clason clason requested a review from theHamsta April 10, 2022 08:52
@clason
Copy link
Contributor Author

clason commented Apr 10, 2022

@theHamsta I'll merge (and announce) this after your approval.

@clason clason merged commit acd0155 into nvim-treesitter:master Apr 10, 2022
@clason clason deleted the deprecate-maintained branch April 11, 2022 10:05
stefanvanburen added a commit to stefanvanburen/dotfiles that referenced this pull request Apr 11, 2022
"maintained" is deprecated.[1] "all" is not recommended (according to
the new docs) so I've started this out with just "go" support and will
add more languages here as I need them.

[1]: nvim-treesitter/nvim-treesitter#2763
Aetf added a commit to Aetf/ucw.nvim that referenced this pull request Apr 12, 2022
khuedoan pushed a commit to khuedoan/dotfiles that referenced this pull request Apr 12, 2022
khuedoan added a commit to khuedoan/dotfiles that referenced this pull request Apr 12, 2022
tssujt added a commit to tssujt/dotfiles that referenced this pull request Apr 13, 2022
fnichol added a commit to fnichol/dotneovim that referenced this pull request Apr 14, 2022
Upstream plugin has migrated away from `"maintained"`, so we'll
enumerate our desired set instead!

References: nvim-treesitter/nvim-treesitter#2763

Signed-off-by: Fletcher Nichol <fnichol@nichol.ca>
qbantek added a commit to qbantek/dotfiles that referenced this pull request Apr 18, 2022
zdzolton added a commit to zdzolton/neovimconf that referenced this pull request May 3, 2022
The no longer support the `maintained` option for the ensure_installed
config setting, so I've opted for an explicit list for now...

nvim-treesitter/nvim-treesitter#2763

(Sounds like `all` isn't suggested...)
ogirginc added a commit to ogirginc/dotfiles that referenced this pull request May 4, 2022
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.

None yet

3 participants