Skip to content

Commit

Permalink
fix(luasnip): don't set remap=true for <tab>. Fixes #44
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jan 11, 2023
1 parent 46dba8f commit 87c37f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/lazyvim/plugins/coding.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ return {
function()
return require("luasnip").jumpable(1) and "<Plug>luasnip-jump-next" or "<tab>"
end,
expr = true, remap = true, silent = true, mode = "i",
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" } },
Expand Down
2 changes: 1 addition & 1 deletion lua/lazyvim/util/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ local Util = require("lazy.core.util")

local M = {}

M.root_patterns = { ".git", "/lua" }
M.root_patterns = { ".git", "lua" }

---@param on_attach fun(client, buffer)
function M.on_attach(on_attach)
Expand Down

0 comments on commit 87c37f2

Please sign in to comment.