update: nvim
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
return function()
|
||||
require("mini.cursorword").setup({
|
||||
-- Delay (in ms) between when cursor moved and when highlighting appeared
|
||||
delay = 200,
|
||||
})
|
||||
require("modules.utils").gen_cursorword_hl()
|
||||
end
|
||||
@@ -0,0 +1,20 @@
|
||||
return function()
|
||||
vim.g.maplocalleader = ","
|
||||
require("modules.utils").load_plugin("grug-far", {
|
||||
engine = "ripgrep",
|
||||
engines = {
|
||||
ripgrep = {
|
||||
path = "rg",
|
||||
showReplaceDiff = true,
|
||||
placeholders = {
|
||||
enabled = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
windowCreationCommand = "bot split",
|
||||
disableBufferLineNumbers = false,
|
||||
icons = {
|
||||
enabled = true,
|
||||
},
|
||||
})
|
||||
end
|
||||
@@ -1,6 +0,0 @@
|
||||
return function()
|
||||
require("modules.utils").load_plugin("local-highlight", {
|
||||
hlgroup = "IlluminatedWordText",
|
||||
insert_mode = false,
|
||||
})
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
return function()
|
||||
vim.g.matchup_transmute_enabled = 1
|
||||
vim.g.matchup_surround_enabled = 1
|
||||
vim.g.matchup_matchparen_offscreen = { method = "popup" }
|
||||
end
|
||||
@@ -1,14 +0,0 @@
|
||||
return function()
|
||||
require("modules.utils").load_plugin("smart-splits", {
|
||||
-- Ignored buffer types (only while resizing)
|
||||
ignored_buftypes = {
|
||||
"nofile",
|
||||
"quickfix",
|
||||
"prompt",
|
||||
},
|
||||
-- Ignored filetypes (only while resizing)
|
||||
ignored_filetypes = { "NvimTree" },
|
||||
-- the default number of lines/columns to resize by at a time
|
||||
default_amount = 3,
|
||||
})
|
||||
end
|
||||
Reference in New Issue
Block a user