summaryrefslogtreecommitdiff
path: root/after/plugin/nvim-tree.lua
diff options
context:
space:
mode:
Diffstat (limited to 'after/plugin/nvim-tree.lua')
-rw-r--r--after/plugin/nvim-tree.lua24
1 files changed, 24 insertions, 0 deletions
diff --git a/after/plugin/nvim-tree.lua b/after/plugin/nvim-tree.lua
new file mode 100644
index 0000000..d89c294
--- /dev/null
+++ b/after/plugin/nvim-tree.lua
@@ -0,0 +1,24 @@
+-- set termguicolors to enable highlight groups
+vim.opt.termguicolors = true
+
+-- empty setup using defaults
+require("nvim-tree").setup()
+
+-- OR setup with some options
+require("nvim-tree").setup({
+ sort_by = "case_sensitive",
+ view = {
+ adaptive_size = true,
+ mappings = {
+ list = {
+ { key = "u", action = "dir_up" },
+ },
+ },
+ },
+ renderer = {
+ group_empty = true,
+ },
+ filters = {
+ dotfiles = true,
+ },
+})