mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-08-07 11:35:06 +02:00
refactor: update codam-header plugin configuration and clean up unused code
feat: nvim-tree and neo-tree fully functional
This commit is contained in:
parent
d7348e755b
commit
53a4625326
5 changed files with 130 additions and 166 deletions
|
@ -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,
|
||||
}
|
||||
}
|
25
lua/custom/plugins/nvim-tree.lua
Normal file
25
lua/custom/plugins/nvim-tree.lua
Normal 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,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue