diff options
Diffstat (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/compiler.lua')
| -rw-r--r-- | ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/compiler.lua | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/compiler.lua b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/compiler.lua deleted file mode 100644 index e0894dc..0000000 --- a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/compiler.lua +++ /dev/null @@ -1,53 +0,0 @@ -return { - { -- This plugin - "Zeioth/compiler.nvim", - cmd = { "CompilerOpen", "CompilerToggleResults", "CompilerRedo" }, - dependencies = { "stevearc/overseer.nvim", "nvim-telescope/telescope.nvim" }, - opts = {}, - init = function() - local wk = require("which-key") - wk.add({ - mode = { "n", "v" }, - { "<leader>r", group = "Compiler/Refactoring" }, - }) - end, - keys = { - -- Open compiler - vim.api.nvim_set_keymap( - "n", - "<leader>ro", - "<cmd>CompilerOpen<cr>", - { noremap = true, silent = true, desc = "Open compiler" } - ), - - -- Redo last selected option - vim.api.nvim_set_keymap( - "n", - "<leader>re", - "<cmd>CompilerStop<cr>" -- (Optional, to dispose all tasks before redo) - .. "<cmd>CompilerRedo<cr>", - { noremap = true, silent = true, desc = "Recompile" } - ), - -- Toggle compiler results - vim.api.nvim_set_keymap( - "n", - "<leader>rt", - "<cmd>CompilerToggleResults<cr>", - { noremap = true, silent = true, desc = "Toggle compiler" } - ), - }, - }, - { -- The task runner we use - "stevearc/overseer.nvim", - commit = "6271cab7ccc4ca840faa93f54440ffae3a3918bd", - cmd = { "CompilerOpen", "CompilerToggleResults", "CompilerRedo" }, - opts = { - task_list = { - direction = "bottom", - min_height = 25, - max_height = 25, - default_detail = 1, - }, - }, - }, -} |
