refactor: update codam-header plugin configuration and clean up unused code

feat: nvim-tree and neo-tree fully functional
This commit is contained in:
David Ponte 2025-04-22 20:51:31 +02:00
parent d7348e755b
commit 53a4625326
5 changed files with 130 additions and 166 deletions

View file

@ -1,17 +1,13 @@
-- Codam header
return {
config = function()
require('codamheader').setup {
auto_update = true,
user = 'dponte',
mail = 'dponte@student.codam.nl',
git = {
enabled = false,
bin = 'git',
user_global = true,
email_global = true,
},
exascii_left = false,
}
"f-ras/codam-header.nvim",
cmd = { "Stdheader" },
opts = {
auto_update = true, -- Update header when saving.
user = 'dponte',
mail = 'dponte@student.codam.nl', -- Your mail.
-- add other options.
},
config = function(_, opts)
require("codamheader").setup(opts)
end,
}
}

View file

@ -0,0 +1,25 @@
return {
'nvim-tree/nvim-tree.lua',
dependencies = { 'nvim-tree/nvim-web-devicons' }, -- Optional, for file icons
config = function()
require('nvim-tree').setup {
sort = {
sorter = 'case_sensitive',
folders_first = true,
files_first = false,
},
view = {
width = 30,
},
renderer = {
group_empty = true,
},
filters = {
dotfiles = true,
},
}
-- Key mapping to toggle NvimTree
vim.keymap.set('n', '<C-b>', ':NvimTreeToggle<CR>', { desc = 'Toggle NvimTree' })
end,
}