diff options
| author | Blake Romero <blake@blkrom.com> | 2025-01-24 00:33:22 +0000 |
|---|---|---|
| committer | Blake Romero <blake@blkrom.com> | 2025-01-24 00:33:22 +0000 |
| commit | aac011ad60cd4895d107e43e85333aa6eb0cc9fd (patch) | |
| tree | 091da37dc3cb020871998b6047d75e7aaf71b742 | |
| parent | 8b9517d63146e170a03554033164c2126160f8a8 (diff) | |
Add nvim-tree
| -rw-r--r-- | lua/plugins/tree.lua | 9 | ||||
| -rw-r--r-- | lua/plugins/treesitter.lua | 4 |
2 files changed, 11 insertions, 2 deletions
diff --git a/lua/plugins/tree.lua b/lua/plugins/tree.lua new file mode 100644 index 0000000..30aea5f --- /dev/null +++ b/lua/plugins/tree.lua @@ -0,0 +1,9 @@ +return { + "nvim-tree/nvim-tree.lua", + version = "*", + dependencies = { "nvim-tree/nvim-web-devicons", }, + config = true, + keys = { + {"<leader>t", ":NvimTreeToggle<CR>"} + } +} diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 24e6c32..69b452a 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -1,13 +1,13 @@ return { "nvim-treesitter/nvim-treesitter", build = ":TSUpdate", - config = function () + config = function () local ts = require("nvim-treesitter.configs") ts.setup({ ensure_installed = { "c", "lua", "vim", "vimdoc", "html", "css", "javascript" }, sync_install = false, highlight = { enable = true }, - indent = { enable = true }, + indent = { enable = true }, }) end } |
