From 22bc86ee8355b0106f95147cc806597b4f4bf787 Mon Sep 17 00:00:00 2001 From: Einherjar Date: Wed, 6 Sep 2023 05:25:12 -0400 Subject: [PATCH] fix(flash): stylua ignore keyr --- init.lua | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/init.lua b/init.lua index ca206cf..edf1128 100644 --- a/init.lua +++ b/init.lua @@ -897,6 +897,7 @@ require("lazy").setup({ dependencies = { "nvim-lua/plenary.nvim" }, event = { "BufReadPre", "BufNewFile" }, config = true, + -- stylua: ignore keys = { { "st", "TodoTelescope", desc = "[T]odo" }, { "K", "TodoLocList", desc = "Todo: List" }, @@ -905,25 +906,15 @@ require("lazy").setup({ }, }, { - "folke/flash.nvim", event = "VeryLazy", keys = { - { - "s", - mode = { "n", "o", "x" }, - function() - require("flash").jump() - end, - desc = "Flash", - }, - { - "r", - mode = "o", - function() - require("flash").remote() - end, - desc = "Remote Flash", - }, + { + "folke/flash.nvim", -- Amazing movements + event = "VeryLazy", + -- stylua: ignore + keys = { + { "s", mode = { "n", "o", "x" }, function() require("flash").jump() end, desc = "Flash", }, + { "r", mode = "o", function() require("flash").remote() end, desc = "Remote Flash", }, }, }, })