mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 16:39:04 +02:00
fix bug tab
This commit is contained in:
parent
39c6fb682a
commit
68087b6dc3
3 changed files with 22 additions and 10 deletions
|
@ -57,13 +57,13 @@ return {
|
|||
},
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
{
|
||||
"<tab>",
|
||||
function()
|
||||
return require("luasnip").jumpable(1) and "<Plug>luasnip-jump-next" or "<tab>"
|
||||
end,
|
||||
expr = true, silent = true, mode = "i",
|
||||
},
|
||||
-- {
|
||||
-- "<tab>",
|
||||
-- function()
|
||||
-- return require("luasnip").jumpable(1) and "<Plug>luasnip-jump-next" or "<tab>"
|
||||
-- end,
|
||||
-- expr = true, silent = true, mode = "i",
|
||||
-- },
|
||||
{ "<tab>", function() require("luasnip").jump(1) end, mode = "s" },
|
||||
{ "<s-tab>", function() require("luasnip").jump(-1) end, mode = { "i", "s" } },
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue