Skip to content

Commit

Permalink
fix(flash): stylua ignore keyr
Browse files Browse the repository at this point in the history
  • Loading branch information
realeinherjar committed Sep 6, 2023
1 parent 8a1c368 commit 22bc86e
Showing 1 changed file with 8 additions and 17 deletions.
25 changes: 8 additions & 17 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -897,6 +897,7 @@ require("lazy").setup({
dependencies = { "nvim-lua/plenary.nvim" },
event = { "BufReadPre", "BufNewFile" },
config = true,
-- stylua: ignore
keys = {
{ "<leader>st", "<CMD>TodoTelescope<CR>", desc = "[T]odo" },
{ "<leader>K", "<CMD>TodoLocList<CR>", desc = "Todo: List" },
Expand All @@ -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", },
},
},
})
Expand Down

0 comments on commit 22bc86e

Please sign in to comment.