From 14770b07759312206d57a0f1f5114be3eafe4344 Mon Sep 17 00:00:00 2001 From: Muhammad Nauman Raza Date: Sat, 23 Mar 2024 16:09:24 +0000 Subject: [PATCH] feat: nvim-tree setup --- init.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/init.lua b/init.lua index b0cd039..478d925 100644 --- a/init.lua +++ b/init.lua @@ -7,5 +7,23 @@ neogit.setup {} -- Setup better-escape.nvim require("better_escape").setup() +-- nvim-tree.lua setup +vim.g.loaded_netrw = 1 +vim.g.loaded_netrwPlugin = 1 +require("nvim-tree").setup({ + sort = { + sorter = "case_sensitive", + }, + view = { + width = 30, + }, + renderer = { + group_empty = true, + }, + filters = { + dotfiles = true, + }, +}) + -- Imports from files require 'core'