From 87c37f287b609f9fba12d2a6a518823d438bac44 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Wed, 11 Jan 2023 21:19:52 +0100 Subject: [PATCH] fix(luasnip): don't set remap=true for ``. Fixes #44 --- lua/lazyvim/plugins/coding.lua | 2 +- lua/lazyvim/util/init.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/lazyvim/plugins/coding.lua b/lua/lazyvim/plugins/coding.lua index 7b1372d1..f2f8448f 100644 --- a/lua/lazyvim/plugins/coding.lua +++ b/lua/lazyvim/plugins/coding.lua @@ -20,7 +20,7 @@ return { function() return require("luasnip").jumpable(1) and "luasnip-jump-next" or "" end, - expr = true, remap = true, silent = true, mode = "i", + expr = true, silent = true, mode = "i", }, { "", function() require("luasnip").jump(1) end, mode = "s" }, { "", function() require("luasnip").jump(-1) end, mode = { "i", "s" } }, diff --git a/lua/lazyvim/util/init.lua b/lua/lazyvim/util/init.lua index 8b5f135e..cc02144b 100644 --- a/lua/lazyvim/util/init.lua +++ b/lua/lazyvim/util/init.lua @@ -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)