restructure folder

This commit is contained in:
Dennis Chan 2025-07-15 17:31:24 +08:00
parent db10a56ae6
commit a2ed2a85b0
7 changed files with 61 additions and 69 deletions

View file

@ -0,0 +1,20 @@
return {
'greggh/claude-code.nvim',
dependencies = {
'nvim-lua/plenary.nvim', -- Required for git operations
},
config = function()
require('claude-code').setup {
window = {
position = 'vertical',
split_ratio = 0.35,
},
refresh = {
enable = true, -- Enable file change detection
updatetime = 100, -- updatetime when Claude Code is active (milliseconds)
timer_interval = 1000, -- How often to check for file changes (milliseconds)
show_notifications = true, -- Show notification when files are reloaded
},
}
end,
}

View file

@ -0,0 +1,10 @@
return {
'f-person/git-blame.nvim',
event = 'VeryLazy',
opts = {
enabled = true,
message_template = ' <author> • <date> • <summary> ',
date_format = '%Y-%m-%d %H:%M',
virtual_text_column = 1,
},
}

View file

@ -1,23 +1 @@
-- Plugins in this file
-- Git Blame Plugin
return {
-- Git Blame Plugin
{
'f-person/git-blame.nvim',
-- load the plugin at startup
event = 'VeryLazy',
-- Because of the keys part, you will be lazy loading this plugin.
-- The plugin will only load once one of the keys is used.
-- If you want to load the plugin at startup, add something like event = "VeryLazy",
-- or lazy = false. One of both options will work.
opts = {
-- your configuration comes here
-- for example
enabled = true, -- if you want to enable the plugin
message_template = ' <author> • <date> • <summary> ', -- template for the blame message, check the Message template section for more options
date_format = '%Y-%m-%d %H:%M', -- template for the date, check Date format section for more options
virtual_text_column = 1, -- virtual text start column, check Start virtual text at column section for more options
},
},
}
return {}

View file

@ -0,0 +1,14 @@
return {
'stevearc/oil.nvim',
---@module 'oil'
---@type oil.SetupOpts
opts = {
default_file_explorer = true,
view_options = {
show_hidden = true,
},
},
dependencies = { { 'echasnovski/mini.icons', opts = {} } },
lazy = false,
}