diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2023-01-01 14:42:32 -0500 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2023-01-01 14:42:32 -0500 |
| commit | 140623d2797f79ab4aecbb4db349207127ff09bc (patch) | |
| tree | 5143df0cec36a10d8b129b6d517c52d9ca76569e /after/plugin/nvim-tree.lua | |
| parent | 70648ca4f20a77b5320d4e362140553b75637151 (diff) | |
| download | nvim-config-140623d2797f79ab4aecbb4db349207127ff09bc.tar.gz nvim-config-140623d2797f79ab4aecbb4db349207127ff09bc.tar.xz | |
Full blown rewrite of my Neovim configuration
Diffstat (limited to 'after/plugin/nvim-tree.lua')
| -rw-r--r-- | after/plugin/nvim-tree.lua | 24 |
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, + }, +}) |
