diff --git a/dots/.config/nvim/after/ftplugin/markdown.lua b/dots/.config/nvim/after/ftplugin/markdown.lua index 55d97442..4991c59b 100644 --- a/dots/.config/nvim/after/ftplugin/markdown.lua +++ b/dots/.config/nvim/after/ftplugin/markdown.lua @@ -5,4 +5,3 @@ vim.opt_local.textwidth = 0 vim.keymap.set("n", "fr", "MarkdownPreview", { buffer = true, }) - diff --git a/dots/.config/nvim/lua/plugins/configs/comment.lua b/dots/.config/nvim/lua/plugins/configs/comment.lua index 60980b83..64c35d53 100644 --- a/dots/.config/nvim/lua/plugins/configs/comment.lua +++ b/dots/.config/nvim/lua/plugins/configs/comment.lua @@ -6,7 +6,7 @@ return { require("nvim_comment").setup({}) end, keys = { - { "/", "CommentToggle", desc = "Toggle Comment"}, + { "/", "CommentToggle", desc = "Toggle Comment" }, { "/", ":'<,'>CommentToggle", desc = "Toggle Selection Comment", mode = { "v" } }, }, }, diff --git a/dots/.config/nvim/lua/plugins/configs/git.lua b/dots/.config/nvim/lua/plugins/configs/git.lua index 71c07384..6a6b35d1 100644 --- a/dots/.config/nvim/lua/plugins/configs/git.lua +++ b/dots/.config/nvim/lua/plugins/configs/git.lua @@ -28,9 +28,8 @@ return { dependencies = { { keys = { - { "gd", "DiffviewOpen", desc = "Diff View: Open" }, - {"gh", "DiffviewFileHistory", desc = "Diff View: File History" } - + { "gd", "DiffviewOpen", desc = "Diff View: Open" }, + { "gh", "DiffviewFileHistory", desc = "Diff View: File History" }, }, "sindrets/diffview.nvim", cmd = { @@ -40,7 +39,7 @@ return { "DiffviewRefresh", "DiffviewClose", "DiffviewOpen", - "DiffviewLog" + "DiffviewLog", }, opts = { enhanced_diff_hl = true, diff --git a/dots/.config/nvim/lua/plugins/configs/hop.lua b/dots/.config/nvim/lua/plugins/configs/hop.lua index 125d757d..f9402ed2 100644 --- a/dots/.config/nvim/lua/plugins/configs/hop.lua +++ b/dots/.config/nvim/lua/plugins/configs/hop.lua @@ -2,12 +2,19 @@ return { { "phaazon/hop.nvim", keys = { - {"f", function() require("hop").hint_char1({ current_line_only = false, }) end, desc = "Hop: Character", mode = { "" } }, - {";l", "HopLineStart", desc = "Hop: Line Start" }, - {";s", "HopPattern", desc = "Hop: Pattern" }, - {";;", "HopWord", desc = "Hop: Word" }, - {";a", "HopAnywhere", desc = "Hop: Anywhere" }, - {";v", "HopVertical", desc = "Hop Vertical" }, + { + "f", + function() + require("hop").hint_char1({ current_line_only = false }) + end, + desc = "Hop: Character", + mode = { "" }, + }, + { ";l", "HopLineStart", desc = "Hop: Line Start" }, + { ";s", "HopPattern", desc = "Hop: Pattern" }, + { ";;", "HopWord", desc = "Hop: Word" }, + { ";a", "HopAnywhere", desc = "Hop: Anywhere" }, + { ";v", "HopVertical", desc = "Hop Vertical" }, }, cmd = { "HopLineStart", diff --git a/dots/.config/nvim/lua/plugins/configs/indent-blankline.lua b/dots/.config/nvim/lua/plugins/configs/indent-blankline.lua index 878bbe17..9bfd99e0 100644 --- a/dots/.config/nvim/lua/plugins/configs/indent-blankline.lua +++ b/dots/.config/nvim/lua/plugins/configs/indent-blankline.lua @@ -3,7 +3,7 @@ return { "lukas-reineke/indent-blankline.nvim", event = { "BufReadPre", "BufNewFile" }, dependencies = { - "nvim-treesitter/nvim-treesitter" + "nvim-treesitter/nvim-treesitter", }, opts = function() local g = vim.g diff --git a/dots/.config/nvim/lua/plugins/configs/mkdir.lua b/dots/.config/nvim/lua/plugins/configs/mkdir.lua index 4578acb7..3c4f6fee 100644 --- a/dots/.config/nvim/lua/plugins/configs/mkdir.lua +++ b/dots/.config/nvim/lua/plugins/configs/mkdir.lua @@ -1,6 +1,6 @@ return { { "jghauser/mkdir.nvim", - event = "BufWritePre" + event = "BufWritePre", }, } diff --git a/dots/.config/nvim/lua/plugins/configs/move.lua b/dots/.config/nvim/lua/plugins/configs/move.lua index 5f3c293c..3bc4907c 100644 --- a/dots/.config/nvim/lua/plugins/configs/move.lua +++ b/dots/.config/nvim/lua/plugins/configs/move.lua @@ -6,7 +6,7 @@ return { "", "", "", - "" - } + "", + }, }, } diff --git a/dots/.config/nvim/lua/plugins/configs/neoformat.lua b/dots/.config/nvim/lua/plugins/configs/neoformat.lua index 1c573d3b..b9b69786 100644 --- a/dots/.config/nvim/lua/plugins/configs/neoformat.lua +++ b/dots/.config/nvim/lua/plugins/configs/neoformat.lua @@ -9,7 +9,7 @@ return { vim.g.neoformat_python_black = { exe = "black", stdin = 1, - args = { "-q", "-" } + args = { "-q", "-" }, } vim.g.neoformat_enabled_python = { "black" } end, diff --git a/dots/.config/nvim/lua/plugins/configs/noice.lua b/dots/.config/nvim/lua/plugins/configs/noice.lua index 61ce92cb..953f159b 100644 --- a/dots/.config/nvim/lua/plugins/configs/noice.lua +++ b/dots/.config/nvim/lua/plugins/configs/noice.lua @@ -27,8 +27,8 @@ return { }, }, popupmenu = { - backend = "cmp" - } + backend = "cmp", + }, }, dependencies = { -- if you lazy-load any plugin below, make sure to add proper `module="..."` entries @@ -41,7 +41,7 @@ return { function() require("notify").dismiss({ pending = true, - silent = true + silent = true, }) end, desc = "Notifications: Dismiss", diff --git a/dots/.config/nvim/lua/plugins/configs/toggleterm.lua b/dots/.config/nvim/lua/plugins/configs/toggleterm.lua index 05ae34fe..8511c7e0 100644 --- a/dots/.config/nvim/lua/plugins/configs/toggleterm.lua +++ b/dots/.config/nvim/lua/plugins/configs/toggleterm.lua @@ -2,7 +2,7 @@ return { { "akinsho/toggleterm.nvim", keys = { - {"", "ToggleTerm", desc = "ToggleTerm: Toggle" }, + { "", "ToggleTerm", desc = "ToggleTerm: Toggle" }, }, opts = { start_in_insert = false, diff --git a/dots/.config/nvim/lua/plugins/configs/trouble.lua b/dots/.config/nvim/lua/plugins/configs/trouble.lua index 40598eb5..1d1b7704 100644 --- a/dots/.config/nvim/lua/plugins/configs/trouble.lua +++ b/dots/.config/nvim/lua/plugins/configs/trouble.lua @@ -18,17 +18,17 @@ return { "folke/trouble.nvim", keys = { { "x", desc = "> Trouble" }, - { "lr", "TroubleToggle lsp_references", desc = "LSP: References" }, + { "lr", "TroubleToggle lsp_references", desc = "LSP: References" }, { "li", "TroubleToggle lsp_implementations", desc = "LSP: Implementation", }, - { "ld", "TroubleToggle lsp_definitions", desc = "LSP: Definition" }, + { "ld", "TroubleToggle lsp_definitions", desc = "LSP: Definition" }, { "xd", "TroubleToggle document_diagnostics", desc = "Trouble: Document Diagnostics" }, - { "xl", "TroubleToggle loclist", desc = "Trouble: Loclist" }, - { "xq", "TroubleToggle quickfix", desc = "Trouble: Quickfix" }, - { "xt", "TodoTrouble", desc = "Trouble: Todo Items" }, + { "xl", "TroubleToggle loclist", desc = "Trouble: Loclist" }, + { "xq", "TroubleToggle quickfix", desc = "Trouble: Quickfix" }, + { "xt", "TodoTrouble", desc = "Trouble: Todo Items" }, }, dependencies = { "nvim-tree/nvim-web-devicons" }, config = function()