diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2022-09-18 10:30:04 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2022-09-18 10:30:04 +0530 |
commit | c043d50ef94c196012af1eb2e37542247a4a4cff (patch) | |
tree | b8cfa4c6421c44c53e7da39e4900a7e9455e2ef1 | |
parent | 127990a7e276aa173f6be502ea82207afa448447 (diff) |
nvim tree indent markers
-rw-r--r-- | .config/nvim/lua/justsaumit/nvim-tree-config.lua | 52 | ||||
-rw-r--r-- | .config/nvim/lua/justsaumit/plugins.lua | 2 |
2 files changed, 53 insertions, 1 deletions
diff --git a/.config/nvim/lua/justsaumit/nvim-tree-config.lua b/.config/nvim/lua/justsaumit/nvim-tree-config.lua index 07a8af4..8578d58 100644 --- a/.config/nvim/lua/justsaumit/nvim-tree-config.lua +++ b/.config/nvim/lua/justsaumit/nvim-tree-config.lua @@ -16,6 +16,58 @@ require("nvim-tree").setup({ }, renderer = { group_empty = true, + highlight_git = false, + full_name = false, + highlight_opened_files = "none", + root_folder_modifier = ":~", + indent_width = 2, + indent_markers = { + enable = true, + inline_arrows = true, + icons = { + corner = "└", + edge = "│", + item = "│", + bottom = "─", + none = " ", + }, + }, + icons = { + webdev_colors = true, + git_placement = "before", + padding = " ", + symlink_arrow = " ➛ ", + show = { + file = true, + folder = true, + folder_arrow = true, + git = true, + }, + glyphs = { + default = "", + symlink = "", + bookmark = "", + folder = { + arrow_closed = "", + arrow_open = "", + default = "", + open = "", + empty = "", + empty_open = "", + symlink = "", + symlink_open = "", + }, + git = { + unstaged = "✗", + staged = "✓", + unmerged = "", + renamed = "➜", + untracked = "★", + deleted = "", + ignored = "◌", + }, + }, + }, }, filters = { dotfiles = true, diff --git a/.config/nvim/lua/justsaumit/plugins.lua b/.config/nvim/lua/justsaumit/plugins.lua index b95438b..b1d73fc 100644 --- a/.config/nvim/lua/justsaumit/plugins.lua +++ b/.config/nvim/lua/justsaumit/plugins.lua @@ -59,7 +59,7 @@ return packer.startup(function(use) --Bufferline use {'akinsho/bufferline.nvim', tag = "v2.*", requires = 'kyazdani42/nvim-web-devicons'} --Nvim-tree File explorer for nvim - use {'kyazdani42/nvim-tree.lua', requires = { 'kyazdani42/nvim-web-devicons'}} + use {'kyazdani42/nvim-tree.lua', requires = { 'kyazdani42/nvim-web-devicons'}} --HTML use 'windwp/nvim-ts-autotag' --cmp |