Skip to content

Commit 2a57b06

Browse files
committed
Fix missing dependency for nvim-lsp-file-operations
1 parent c696699 commit 2a57b06

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

config/nvim/lua/plugins/navigation.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,13 @@ local neo_tree_spec = {
3939

4040
-- nvim-lsp-file-operations automatically fixes imports whenever we rename a
4141
-- file in neo-tree.
42+
--
43+
-- Neo-tree must load before this, so this depends on the Neo-tree spec.
4244
local neo_tree_file_operations_spec = {
4345
-- https://github.com/antosha417/nvim-lsp-file-operations
4446
"antosha417/nvim-lsp-file-operations",
4547
config = true,
46-
dependencies = { "nvim-lua/plenary.nvim" },
48+
dependencies = { "nvim-lua/plenary.nvim", neo_tree_spec },
4749
}
4850

4951
-- telescope does fuzzy finding over all sorts of things.
@@ -70,7 +72,6 @@ local telescope_spec = {
7072
}
7173

7274
return {
73-
neo_tree_spec,
7475
neo_tree_file_operations_spec,
7576
telescope_spec,
7677
}

0 commit comments

Comments
 (0)