diff --git a/.config/nvim/lua/plugins/flash.lua b/.config/nvim/lua/plugins/flash.lua index c10bd7c8..8e78d1ff 100644 --- a/.config/nvim/lua/plugins/flash.lua +++ b/.config/nvim/lua/plugins/flash.lua @@ -1,57 +1,55 @@ return { + "folke/flash.nvim", + event = "VeryLazy", + vscode = true, + ---@type Flash.Config + opts = {}, + keys = { { - "folke/flash.nvim", - event = "VeryLazy", - vscode = true, - ---@type Flash.Config - opts = {}, - keys = { - { - "s", - mode = { "n", "x", "o" }, - function() - require("flash").jump({ - search = { - mode = function(str) - return "\\<" .. str - end, - }, - }) - end, - desc = "Flash", - }, - { - "S", - mode = { "n", "o", "x" }, - function() - require("flash").treesitter() - end, - desc = "Flash Treesitter", - }, - { - "r", - mode = "o", - function() - require("flash").remote() - end, - desc = "Remote Flash", - }, - { - "R", - mode = { "o", "x" }, - function() - require("flash").treesitter_search() - end, - desc = "Treesitter Search", - }, - { - "", - mode = { "c" }, - function() - require("flash").toggle() - end, - desc = "Toggle Flash Search", - }, - }, + "s", + mode = { "n", "x", "o" }, + function() + require("flash").jump({ + search = { + mode = function(str) + return "\\<" .. str + end, + }, + }) + end, + desc = "Flash", }, + { + "S", + mode = { "n", "o", "x" }, + function() + require("flash").treesitter() + end, + desc = "Flash Treesitter", + }, + { + "r", + mode = "o", + function() + require("flash").remote() + end, + desc = "Remote Flash", + }, + { + "R", + mode = { "o", "x" }, + function() + require("flash").treesitter_search() + end, + desc = "Treesitter Search", + }, + { + "", + mode = { "c" }, + function() + require("flash").toggle() + end, + desc = "Toggle Flash Search", + }, + }, } diff --git a/.config/nvim/lua/plugins/gitsigns.lua b/.config/nvim/lua/plugins/gitsigns.lua index 2c5fd7c7..45e7bc7e 100644 --- a/.config/nvim/lua/plugins/gitsigns.lua +++ b/.config/nvim/lua/plugins/gitsigns.lua @@ -1,22 +1,20 @@ return { - { - "lewis6991/gitsigns.nvim", - opts = { - yadm = { enable = true }, - current_line_blame = true, - current_line_blame_opts = { - virt_text = true, - virt_text_pos = "eol", -- 'eol' | 'overlay' | 'right_align' - delay = 5, - ignore_whitespace = false, - }, + "lewis6991/gitsigns.nvim", + opts = { + yadm = { enable = true }, + current_line_blame = true, + current_line_blame_opts = { + virt_text = true, + virt_text_pos = "eol", -- 'eol' | 'overlay' | 'right_align' + delay = 5, + ignore_whitespace = false, }, - keys = { - { - "ub", - "Gitsigns toggle_current_line_blame", - desc = "Toggle Line Blame", - }, + }, + keys = { + { + "ub", + "Gitsigns toggle_current_line_blame", + desc = "Toggle Line Blame", }, }, } diff --git a/.config/nvim/lua/plugins/mason.lua b/.config/nvim/lua/plugins/mason.lua index 6400cdd1..cc2a18d4 100644 --- a/.config/nvim/lua/plugins/mason.lua +++ b/.config/nvim/lua/plugins/mason.lua @@ -1,9 +1,7 @@ return { - { - "williamboman/mason.nvim", - keys = { - { "cm", false }, - { "cim", "Mason", desc = "Mason" }, - }, + "williamboman/mason.nvim", + keys = { + { "cm", false }, + { "cim", "Mason", desc = "Mason" }, }, } diff --git a/.config/nvim/lua/plugins/neo-tree.lua b/.config/nvim/lua/plugins/neo-tree.lua index 5b5e5a09..a43b06cd 100644 --- a/.config/nvim/lua/plugins/neo-tree.lua +++ b/.config/nvim/lua/plugins/neo-tree.lua @@ -1,15 +1,13 @@ return { - { - "nvim-neo-tree/neo-tree.nvim", - dependencies = { - "luckasRanarison/neo-rename.nvim", - opts = {}, - }, - opts = { - window = { - mappings = { - ["e"] = "open", - }, + "nvim-neo-tree/neo-tree.nvim", + dependencies = { + "luckasRanarison/neo-rename.nvim", + opts = {}, + }, + opts = { + window = { + mappings = { + ["e"] = "open", }, }, }, diff --git a/.config/nvim/lua/plugins/todo-comments.lua b/.config/nvim/lua/plugins/todo-comments.lua index e7c81fe3..36ef3466 100644 --- a/.config/nvim/lua/plugins/todo-comments.lua +++ b/.config/nvim/lua/plugins/todo-comments.lua @@ -1,10 +1,8 @@ return { - { - "folke/todo-comments.nvim", + "folke/todo-comments.nvim", -- stylua: ignore keys = { { "st", false}, { "sT", "TodoTelescope", desc = "Todo" }, }, - }, } diff --git a/.config/nvim/lua/plugins/which-key.lua b/.config/nvim/lua/plugins/which-key.lua index 878d2ecc..999b72fd 100644 --- a/.config/nvim/lua/plugins/which-key.lua +++ b/.config/nvim/lua/plugins/which-key.lua @@ -1,11 +1,9 @@ return { - { - "folke/which-key.nvim", - event = "VeryLazy", - opts = { - defaults = { - ["ci"] = { name = "+info" }, - }, + "folke/which-key.nvim", + event = "VeryLazy", + opts = { + defaults = { + ["ci"] = { name = "+info" }, }, }, }