summaryrefslogtreecommitdiff
path: root/fnl/plugins/editor/neo-tree.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-09-24 01:12:42 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-09-24 01:12:42 +0200
commit8ad2f8c9afb308e7a8a1133f578e3352442f770a (patch)
treea7a05ed7c472f186d6380dd918e2318d6d951330 /fnl/plugins/editor/neo-tree.fnl
parentfd69ec549594d53b9503212d93a9a44f10eef478 (diff)
Restructure plugin configs
Diffstat (limited to 'fnl/plugins/editor/neo-tree.fnl')
-rw-r--r--fnl/plugins/editor/neo-tree.fnl9
1 files changed, 5 insertions, 4 deletions
diff --git a/fnl/plugins/editor/neo-tree.fnl b/fnl/plugins/editor/neo-tree.fnl
index 5cef558..99b552c 100644
--- a/fnl/plugins/editor/neo-tree.fnl
+++ b/fnl/plugins/editor/neo-tree.fnl
@@ -1,5 +1,9 @@
;; File manager.
+(local dependencies [:nvim-lua/plenary.nvim
+ :nvim-tree/nvim-web-devicons
+ :MunifTanjim/nui.nvim])
+
(local cursorline (require :util.cursorline))
(fn init []
@@ -42,11 +46,8 @@
{1 :nvim-neo-tree/neo-tree.nvim
:keys [{1 "-" 2 "<cmd>Neotree filesystem reveal<cr>" :desc "Open Neotree"}]
- ; :event :VeryLazy
:cmd :Neotree
: init
: deactivate
: opts
- :dependencies [:nvim-lua/plenary.nvim
- :nvim-tree/nvim-web-devicons
- :MunifTanjim/nui.nvim]}
+ : dependencies}