fix(snippets): nvim-snippets <S-Tab> prev key (#3712)

Fix nvim-snippets' <S-Tab> rollback keymap.
This commit is contained in:
Songli Yu 2024-06-18 13:15:24 +08:00 committed by GitHub
parent bdca1e95ff
commit 492fa86faa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -103,7 +103,7 @@ return {
{
"<S-Tab>",
function()
return vim.snippet.active({ direction = -1 }) and "<cmd>lua vim.snippet.jump(-1)<cr>" or "<Tab>"
return vim.snippet.active({ direction = -1 }) and "<cmd>lua vim.snippet.jump(-1)<cr>" or "<S-Tab>"
end,
expr = true,
silent = true,