AutoYADM commit: 2024-12-20 21:00:02
This commit is contained in:
parent
0130645bf9
commit
215723be9c
3 changed files with 34 additions and 29 deletions
|
@ -2,7 +2,7 @@
|
||||||
local conf = {
|
local conf = {
|
||||||
labels = "arstgmneioqwfpbjluyzxcdvkh",
|
labels = "arstgmneioqwfpbjluyzxcdvkh",
|
||||||
jump = {
|
jump = {
|
||||||
inclusive = nil,
|
-- inclusive = false,
|
||||||
nohlsearch = false,
|
nohlsearch = false,
|
||||||
offset = nil,
|
offset = nil,
|
||||||
},
|
},
|
||||||
|
@ -54,9 +54,21 @@ return {
|
||||||
"s",
|
"s",
|
||||||
mode = { "n", "x", "o" },
|
mode = { "n", "x", "o" },
|
||||||
function()
|
function()
|
||||||
require("flash").jump()
|
require("flash").jump({ jump = {
|
||||||
|
inclusive = true,
|
||||||
|
} })
|
||||||
end,
|
end,
|
||||||
desc = "Flash",
|
desc = "Flash Inclusive",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"<c-s>",
|
||||||
|
mode = { "n", "x", "o" },
|
||||||
|
function()
|
||||||
|
require("flash").jump({ jump = {
|
||||||
|
inclusive = false,
|
||||||
|
} })
|
||||||
|
end,
|
||||||
|
desc = "Flash Exclusive",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"S",
|
"S",
|
||||||
|
@ -82,21 +94,21 @@ return {
|
||||||
end,
|
end,
|
||||||
desc = "Treesitter Search",
|
desc = "Treesitter Search",
|
||||||
},
|
},
|
||||||
{
|
-- {
|
||||||
"<c-s>",
|
-- "<c-s>",
|
||||||
mode = { "c" },
|
-- mode = { "c" },
|
||||||
function()
|
-- function()
|
||||||
require("flash").toggle()
|
-- require("flash").toggle()
|
||||||
end,
|
-- end,
|
||||||
desc = "Toggle Flash Search",
|
-- desc = "Toggle Flash Search",
|
||||||
},
|
-- },
|
||||||
{
|
-- {
|
||||||
"<c-s>",
|
-- "<c-s>",
|
||||||
mode = { "n", "x", "o" },
|
-- mode = { "n", "x", "o" },
|
||||||
function()
|
-- function()
|
||||||
diagHL()
|
-- diagHL()
|
||||||
end,
|
-- end,
|
||||||
desc = "Toggle Flash Search",
|
-- desc = "Toggle Flash Search",
|
||||||
},
|
-- },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,9 @@ return {
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
opts = {
|
opts = {
|
||||||
servers = {
|
servers = {
|
||||||
|
ruff = {
|
||||||
|
autostart = false,
|
||||||
|
},
|
||||||
basedpyright = {
|
basedpyright = {
|
||||||
settings = {
|
settings = {
|
||||||
basedpyright = {
|
basedpyright = {
|
|
@ -1,10 +0,0 @@
|
||||||
return {
|
|
||||||
"neovim/nvim-lspconfig",
|
|
||||||
opts = {
|
|
||||||
servers = {
|
|
||||||
ruff = {
|
|
||||||
autostart = false,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue