wip
This commit is contained in:
+14
-14
@@ -1,18 +1,18 @@
|
||||
return {
|
||||
-- {
|
||||
-- "m4xshen/hardtime.nvim",
|
||||
-- lazy = false,
|
||||
-- dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" },
|
||||
-- opts = {
|
||||
-- disable_mouse = false,
|
||||
-- restricted_keys = {
|
||||
-- ["w"] = { "n", "x" },
|
||||
-- ["W"] = { "n", "x" },
|
||||
-- ["b"] = { "n", "x" },
|
||||
-- ["B"] = { "n", "x" },
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
{
|
||||
"m4xshen/hardtime.nvim",
|
||||
lazy = false,
|
||||
dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" },
|
||||
opts = {
|
||||
disable_mouse = false,
|
||||
restricted_keys = {
|
||||
["w"] = { "n", "x" },
|
||||
["W"] = { "n", "x" },
|
||||
["b"] = { "n", "x" },
|
||||
["B"] = { "n", "x" },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
"smoka7/hop.nvim",
|
||||
|
||||
+13
-46
@@ -33,58 +33,25 @@ return {
|
||||
},
|
||||
|
||||
{
|
||||
"rachartier/tiny-code-action.nvim",
|
||||
dependencies = {
|
||||
{ "nvim-lua/plenary.nvim" },
|
||||
-- optional picker via telescope
|
||||
{ "nvim-telescope/telescope.nvim" },
|
||||
-- optional picker via fzf-lua
|
||||
-- { "ibhagwan/fzf-lua" },
|
||||
-- .. or via snacks
|
||||
-- { "folke/snacks.nvim", opts = { terminal = {} } },
|
||||
},
|
||||
event = "LspAttach",
|
||||
opts = {
|
||||
-- backend = "delta",
|
||||
-- picker = {
|
||||
-- "buffer",
|
||||
-- opts = {
|
||||
-- hotkeys = true,
|
||||
-- auto_preview = true,
|
||||
-- auto_accept = true,
|
||||
-- },
|
||||
-- },
|
||||
},
|
||||
"aznhe21/actions-preview.nvim",
|
||||
config = function()
|
||||
local hl = require "actions-preview.highlight"
|
||||
require("actions-preview").setup {
|
||||
backend = { "nui" },
|
||||
highlight_command = { hl.delta() },
|
||||
|
||||
nui = {
|
||||
keymap = { "q", "<C-c>" },
|
||||
},
|
||||
}
|
||||
end,
|
||||
keys = {
|
||||
{
|
||||
"ga",
|
||||
function()
|
||||
require("tiny-code-action").code_action()
|
||||
require("actions-preview").code_actions()
|
||||
end,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
-- {
|
||||
-- "aznhe21/actions-preview.nvim",
|
||||
-- config = function()
|
||||
-- local hl = require "actions-preview.highlight"
|
||||
-- require("actions-preview").setup {
|
||||
-- backend = { "nui" },
|
||||
-- highlight_command = { hl.delta() },
|
||||
--
|
||||
-- nui = {
|
||||
-- keymap = { "q", "<C-c>" },
|
||||
-- },
|
||||
-- }
|
||||
-- end,
|
||||
-- keys = {
|
||||
-- {
|
||||
-- "ga",
|
||||
-- function()
|
||||
-- require("actions-preview").code_actions()
|
||||
-- end,
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user