From 307fceea38b7352a79b0bdb87025a34b76973867 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Thu, 19 Jun 2025 18:34:13 +0900 Subject: updates --- .../TheSiahxyz/lua/thesiahxyz/plugins/quickfix.lua | 76 ---------------------- 1 file changed, 76 deletions(-) delete mode 100644 ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/quickfix.lua (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/quickfix.lua') diff --git a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/quickfix.lua b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/quickfix.lua deleted file mode 100644 index 9a3998e..0000000 --- a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/quickfix.lua +++ /dev/null @@ -1,76 +0,0 @@ -return { - { - "folke/trouble.nvim", - cmd = { "Trouble" }, - opts = { - modes = { - lsp = { - win = { position = "right" }, - }, - preview_float = { - mode = "diagnostics", - preview = { - type = "float", - relative = "editor", - border = "rounded", - title = "Preview", - title_pos = "center", - position = { 0, -2 }, - size = { width = 0.3, height = 0.3 }, - zindex = 200, - }, - }, - }, - }, - config = function(_, opts) - require("trouble").setup(opts) - end, - init = function() - local wk = require("which-key") - wk.add({ - mode = { "n", "v", "x" }, - { "x", group = "Quickfix (trouble)" }, - }) - end, - keys = { - { "xd", "Trouble diagnostics toggle", desc = "Toggle diagnostics (Trouble)" }, - { - "xD", - "Trouble diagnostics toggle filter.buf=0", - desc = "Toggle buffer Diagnostics (Trouble)", - }, - { "xs", "Trouble symbols toggle", desc = "Toggle symbols (Trouble)" }, - { "xS", "Trouble lsp toggle", desc = "Toggle LSP def/ref/... (Trouble)" }, - { "xl", "Trouble loclist toggle", desc = "Toggle location List (Trouble)" }, - { "xq", "Trouble qflist toggle", desc = "Toggle quickfix List (Trouble)" }, - { - "[x", - function() - if require("trouble").is_open() then - require("trouble").prev({ skip_groups = true, jump = true }) - else - local ok, err = pcall(vim.cmd.cprev) - if not ok then - vim.notify(err, vim.log.levels.ERROR) - end - end - end, - desc = "Previous quickfix (trouble)", - }, - { - "]x", - function() - if require("trouble").is_open() then - require("trouble").next({ skip_groups = true, jump = true }) - else - local ok, err = pcall(vim.cmd.cnext) - if not ok then - vim.notify(err, vim.log.levels.ERROR) - end - end - end, - desc = "Next quickfix (trouble)", - }, - }, - }, -} -- cgit v1.2.3