nvim: 調整import架構

This commit is contained in:
2025-04-30 05:22:08 +08:00
parent 36ea942044
commit 28a3a6f8d6
6 changed files with 22 additions and 8 deletions

View File

@@ -5,3 +5,4 @@
-- vim.api.nvim_set_keymap('n', '<A-h>', '<cmd>tabprevious<CR>', { noremap = true, silent = true })
-- vim.api.nvim_set_keymap('n', '<A-RIGHT>', '<cmd>tabnext<CR>', { noremap = true, silent = true })
-- vim.api.nvim_set_keymap('n', '<A-LEFT>', '<cmd>tabprevious<CR>', { noremap = true, silent = true })

View File

@@ -40,7 +40,8 @@ require("lazy").setup({
-- },
-- 自動載入 plugins 資料夾中的所有插件
{ import = "plugins" },
{ import = "plugins.tab" },
{ import = "plugins.colorscheme.nightfox" }, -- 自訂配色
{ import = "plugins.tab.barbar" }, -- 目前只有barbar處理Buffer是最好的
-- 手動引入 o-plugins 資料夾中的插件
-- require("o-plugins.nvim-listchars"),
@@ -49,5 +50,23 @@ require("lazy").setup({
-- colorscheme that will be used when installing plugins.
install = { colorscheme = { "habamax" } },
-- automatically check for plugin updates
checker = { enabled = true },
checker = {
enabled = true,
notify = false, -- notify on update
}, -- automatically check for plugin updates
performance = {
rtp = {
-- disable some rtp plugins
disabled_plugins = {
-- "gzip",
-- "matchit",
-- "matchparen",
-- "netrwPlugin",
-- "tarPlugin",
-- "tohtml",
-- "tutor",
-- "zipPlugin",
},
},
},
})