summaryrefslogtreecommitdiff
path: root/dot_config/nvim/lua/plugins/neo-tree.lua
diff options
context:
space:
mode:
authorChloe Kudryavtsev <code@toast.bunkerlabs.net>2023-04-13 00:39:31 -0400
committerChloe Kudryavtsev <code@toast.bunkerlabs.net>2023-04-13 00:39:31 -0400
commit6273b6d43aedc6b00b82e1081db14c39194da765 (patch)
treec6b1b1e6f9391696001375cb93ecd34449eefe0c /dot_config/nvim/lua/plugins/neo-tree.lua
parentnvim: add rudimentary treesitter folding support (diff)
nvim: redo the whole thing
reasons tm
Diffstat (limited to 'dot_config/nvim/lua/plugins/neo-tree.lua')
-rw-r--r--dot_config/nvim/lua/plugins/neo-tree.lua21
1 files changed, 21 insertions, 0 deletions
diff --git a/dot_config/nvim/lua/plugins/neo-tree.lua b/dot_config/nvim/lua/plugins/neo-tree.lua
new file mode 100644
index 0000000..5194d99
--- /dev/null
+++ b/dot_config/nvim/lua/plugins/neo-tree.lua
@@ -0,0 +1,21 @@
+return {
+ {
+ 'nvim-neo-tree/neo-tree.nvim',
+ cmd = 'Neotree',
+ dependencies = {
+ 'nvim-lua/plenary.nvim',
+ 'MunifTanjim/nui.nvim',
+ },
+ keys = {
+ {
+ '<leader>n',
+ function()
+ require 'neo-tree.command'.execute { toggle = true }
+ end,
+ desc = 'Neotree',
+ },
+ },
+ opts = {
+ },
+ },
+}