akinsho / akinsho/toggleterm.nvim

[BUG] `vim.F.if_nil()` is deprecated in Neovim `>=v0.13`

Aperta
#674 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Lua
Stelle
5.6k
Fork
206
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Current Behavior

I'm using Neovim nightly. When using this plugin, running `:checkhealth vim.deprecated`, I get a deprecation warning related to `vim.F.if_nil()`, [which is being deprecated](https://neovim.io/doc/user/deprecated/#deprecated-0.13) for Neovim `>=v0.13`.

### Expected Behavior

No deprecation warnings.

### Steps To Reproduce

1. Open Neovim Nightly
2. Use Toggleterm
3. Run `:checkhealth vim.deprecated`

### Environment

```Markdown
- OS: Arch Linux
- neovim version: v0.13.0-dev-923+g8dfe4d6629
- Shell: bash
```

### Anything else?

Demonstration:

![Showcase](https://github.com/user-attachments/assets/16ffc2d8-c63d-416e-9446-988abe112499)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.