diff --git a/dots/.config/nvim/lua/plugins/configs/_cmp.lua b/dots/.config/nvim/lua/plugins/configs/_cmp.lua index 61c8b4c7..e4c7590e 100755 --- a/dots/.config/nvim/lua/plugins/configs/_cmp.lua +++ b/dots/.config/nvim/lua/plugins/configs/_cmp.lua @@ -129,8 +129,8 @@ cmp.setup({ end, { "i", "s" }), }, sources = cmp.config.sources({ - { name = "nvim_lsp", priority = 11 }, - { name = "luasnip", priority = 10 }, -- For luasnip users. + { name = "nvim_lsp", priority = 11 }, + { name = "luasnip", priority = 10 }, -- For luasnip users. { name = "fuzzy_buffer", priority = 9, keyword_length = 3, max_item_count = 10 }, { name = "rg", @@ -139,11 +139,11 @@ cmp.setup({ max_item_count = 10, }, { name = "async_path", priority = 6 }, - { name = "zsh", priority = 5 }, + { name = "zsh", priority = 5 }, { name = "emoji", keyword_length = 2 }, { name = "neorg" }, { name = "calc" }, - { name = "npm", keyword_length = 2 }, + { name = "npm", keyword_length = 2 }, { name = "spell", keyword_length = 2 }, }), sorting = { @@ -165,7 +165,7 @@ cmp.setup({ cmp.setup.filetype("gitcommit", { sources = cmp.config.sources({ { name = "conventionalcommits", priority = 20 }, - { name = "emoji", keyword_length = 2 }, + { name = "emoji", keyword_length = 2 }, }), }) @@ -197,8 +197,8 @@ cmp.setup.cmdline(":", { { name = "cmdline", option = { - ignore_cmds = {'!'} - } + ignore_cmds = { "!" }, + }, }, { name = "cmdline_history" }, }), diff --git a/dots/.config/nvim/lua/plugins/mappings.lua b/dots/.config/nvim/lua/plugins/mappings.lua index eecaa5be..d7ad6221 100755 --- a/dots/.config/nvim/lua/plugins/mappings.lua +++ b/dots/.config/nvim/lua/plugins/mappings.lua @@ -229,9 +229,19 @@ wk.register({ name = "Trouble", }, }, { prefix = "" }) -vim.keymap.set("n", "xx", "TroubleToggle", { silent = true, desc = "Trouble: Toggle" }) -vim.keymap.set("n", "xw", "TroubleToggle workspace_diagnostics", { silent = true, desc = "Trouble: Workspace Diagnostics" }) -vim.keymap.set("n", "xd", "TroubleToggle document_diagnostics", { silent = true, desc = "Trouble: Document Diagnostics" }) -vim.keymap.set("n", "xl", "TroubleToggle loclist", { silent = true, desc = "Trouble: Loclist"}) +vim.keymap.set("n", "xx", "TroubleToggle", { silent = true, desc = "Trouble: Toggle" }) +vim.keymap.set( + "n", + "xw", + "TroubleToggle workspace_diagnostics", + { silent = true, desc = "Trouble: Workspace Diagnostics" } +) +vim.keymap.set( + "n", + "xd", + "TroubleToggle document_diagnostics", + { silent = true, desc = "Trouble: Document Diagnostics" } +) +vim.keymap.set("n", "xl", "TroubleToggle loclist", { silent = true, desc = "Trouble: Loclist" }) vim.keymap.set("n", "xq", "TroubleToggle quickfix", { silent = true, desc = "Trouble: Quickfix" }) vim.keymap.set("n", "xt", "TodoTrouble", { silent = true, desc = "Trouble: Todo Items" }) diff --git a/dots/.config/nvim/lua/plugins/plugins.lua b/dots/.config/nvim/lua/plugins/plugins.lua index f5c9262e..dff5d666 100755 --- a/dots/.config/nvim/lua/plugins/plugins.lua +++ b/dots/.config/nvim/lua/plugins/plugins.lua @@ -122,7 +122,7 @@ lazy.setup({ "nvim-telescope/telescope-ui-select.nvim", "debugloop/telescope-undo.nvim", { "nvim-telescope/telescope-smart-history.nvim", dependencies = "tami5/sqlite.lua" }, - { "nvim-telescope/telescope-fzf-native.nvim", build = "make" }, + { "nvim-telescope/telescope-fzf-native.nvim", build = "make" }, }, config = function() require("plugins.configs.telescope-nvim") @@ -322,8 +322,8 @@ lazy.setup({ setopt = true, relculright = false, segments = { - { text = { "%s" }, click = "v:lua.ScSa" }, - { text = { builtin.lnumfunc }, click = "v:lua.ScLa" }, + { text = { "%s" }, click = "v:lua.ScSa" }, + { text = { builtin.lnumfunc }, click = "v:lua.ScLa" }, { text = { " ", builtin.foldfunc, " " }, click = "v:lua.ScFa" }, }, }) @@ -682,8 +682,8 @@ lazy.setup({ { cursor = "󰝥", texthl = "SmoothCursorTrailMedium" }, { cursor = "󰝥", texthl = "SmoothCursorTrailMedium" }, { cursor = "•", texthl = "SmoothCursorTrailSmall" }, - { cursor = ".", texthl = "SmoothCursorTrailXSmall" }, - { cursor = ".", texthl = "SmoothCursorTrailXSmall" }, + { cursor = ".", texthl = "SmoothCursorTrailXSmall" }, + { cursor = ".", texthl = "SmoothCursorTrailXSmall" }, }, }, disabled_filetypes = { "NeogitNotification" },