mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-27 03:09:07 +02:00
fix(luasnip): don't set remap=true for <tab>
. Fixes #44
This commit is contained in:
parent
46dba8f67e
commit
87c37f287b
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ return {
|
||||||
function()
|
function()
|
||||||
return require("luasnip").jumpable(1) and "<Plug>luasnip-jump-next" or "<tab>"
|
return require("luasnip").jumpable(1) and "<Plug>luasnip-jump-next" or "<tab>"
|
||||||
end,
|
end,
|
||||||
expr = true, remap = true, silent = true, mode = "i",
|
expr = true, silent = true, mode = "i",
|
||||||
},
|
},
|
||||||
{ "<tab>", function() require("luasnip").jump(1) end, mode = "s" },
|
{ "<tab>", function() require("luasnip").jump(1) end, mode = "s" },
|
||||||
{ "<s-tab>", function() require("luasnip").jump(-1) end, mode = { "i", "s" } },
|
{ "<s-tab>", function() require("luasnip").jump(-1) end, mode = { "i", "s" } },
|
||||||
|
|
|
@ -2,7 +2,7 @@ local Util = require("lazy.core.util")
|
||||||
|
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
M.root_patterns = { ".git", "/lua" }
|
M.root_patterns = { ".git", "lua" }
|
||||||
|
|
||||||
---@param on_attach fun(client, buffer)
|
---@param on_attach fun(client, buffer)
|
||||||
function M.on_attach(on_attach)
|
function M.on_attach(on_attach)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue