akinsho / akinsho/toggleterm.nvim

[BUG] Vertical and Horizontal directions don't work when Snacks Explorer focused

Offen
#660 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Lua
Sterne
5.6k
Forks
206
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Current Behavior

I get an invalid direction when I have Snacks Explorer focused. Spent a bunch of time trouble shooting, and realized this was the only cause. It only happens at first launch when the picker is automatically focused. It seems like it's probably a ToggleTerm issue so I'm posting here.

This is the only error message I get:
```
...ckages/start/toggleterm.nvim/lua/toggleterm/terminal.lua:466: Invalid terminal direction
```

### Expected Behavior

ToggleTerm should toggle regardless.

### Steps To Reproduce

1. nvim .
2. Snacks Explorer is focused
3. C-\
4. Error

### Environment

```Markdown
- OS:
- neovim version:
- Shell:
```

### Anything else?

_No response_

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.