Skip to content

Commit b01c8cf

Browse files
committed
chore(configs): remove useless legacy configs
This commit got rid of some legacy configs that literally did nothing (fr this time lol). Signed-off-by: Jint-lzxy <[email protected]>
1 parent b0d8b4d commit b01c8cf

File tree

3 files changed

+9
-20
lines changed

3 files changed

+9
-20
lines changed

lua/modules/configs/editor/grug-far.lua

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
return function()
2-
vim.g.maplocalleader = ","
32
require("modules.utils").load_plugin("grug-far", {
43
engine = "ripgrep",
54
engines = {

lua/modules/configs/tool/fcitx5.lua

+3-15
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,7 @@
11
return function()
22
require("modules.utils").load_plugin("fcitx5", {
3-
msg = nil, -- string | nil: printed when startup is completed
4-
imname = { -- fcitx5.Imname | nil: imnames on each mode set as prior. See `:h map-table` for more in-depth information.
5-
norm = nil, -- string | nil: imname to set in normal mode. if nil, will restore the mode on exit.
6-
ins = nil,
7-
cmd = nil,
8-
vis = nil,
9-
sel = nil,
10-
opr = nil,
11-
term = nil,
12-
lang = nil,
13-
},
14-
remember_prior = true, -- boolean: if true, it remembers the mode on exit and restore it when entering the mode again.
15-
-- if false, uses what was set in config.
16-
define_autocmd = true, -- boolean: if true, defines autocmd at `ModeChanged` to switch fcitx5 mode.
17-
log = "warn", -- string: log level (default: warn)
3+
log = "warn",
4+
define_autocmd = true,
5+
remember_prior = true,
186
})
197
end

lua/modules/configs/ui/splits.lua

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
return function()
22
require("modules.utils").load_plugin("smart-splits", {
3+
-- The default number of lines/columns to resize by at a time
4+
default_amount = 3,
5+
-- Ignored filetypes (only while resizing)
6+
ignored_filetypes = {
7+
"NvimTree",
8+
},
39
-- Ignored buffer types (only while resizing)
410
ignored_buftypes = {
511
"nofile",
612
"quickfix",
713
"prompt",
814
},
9-
-- Ignored filetypes (only while resizing)
10-
ignored_filetypes = { "NvimTree" },
11-
-- the default number of lines/columns to resize by at a time
12-
default_amount = 3,
1315
})
1416
end

0 commit comments

Comments
 (0)