Update init.lua

This commit is contained in:
aryatsriv 2025-01-25 00:44:42 +05:30 committed by GitHub
parent d830b744ec
commit 14db8e5f36
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 44 additions and 1 deletions

View File

@ -2,4 +2,47 @@
-- I promise not to create any merge conflicts in this directory :) -- I promise not to create any merge conflicts in this directory :)
-- --
-- See the kickstart.nvim README for more information -- See the kickstart.nvim README for more information
return {} return {
-- Other plugins...
-- Add nvim-tree plugin
{
'nvim-tree/nvim-tree.lua',
dependencies = { 'nvim-tree/nvim-web-devicons' }, -- For file icons
config = function()
require('nvim-tree').setup {
disable_netrw = true, -- Disable netrw
hijack_netrw = true, -- Hijack netrw for nvim-tree
view = {
side = 'left',
width = 30,
},
renderer = {
icons = {
show = {
file = true,
folder = true,
folder_arrow = true,
git = true,
},
},
},
diagnostics = {
enable = true, -- Show diagnostic info
icons = {
hint = '',
info = '',
warning = '',
error = '',
},
},
git = {
enable = true, -- Show git status
},
filters = {
dotfiles = false, -- Show hidden files
},
}
end,
},
}