refactor(neo-tree): move setting global to init
This commit is contained in:
@ -1,4 +1,3 @@
|
|||||||
vim.g.neo_tree_remove_legacy_commands = 1
|
|
||||||
local util = require("lazyvim.util")
|
local util = require("lazyvim.util")
|
||||||
|
|
||||||
return {
|
return {
|
||||||
@ -16,6 +15,9 @@ return {
|
|||||||
desc = "NeoTree",
|
desc = "NeoTree",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
init = function()
|
||||||
|
vim.g.neo_tree_remove_legacy_commands = 1
|
||||||
|
end,
|
||||||
config = {
|
config = {
|
||||||
filesystem = {
|
filesystem = {
|
||||||
follow_current_file = true,
|
follow_current_file = true,
|
||||||
@ -26,7 +28,6 @@ return {
|
|||||||
|
|
||||||
-- search/replace in multiple files
|
-- search/replace in multiple files
|
||||||
{
|
{
|
||||||
|
|
||||||
"windwp/nvim-spectre",
|
"windwp/nvim-spectre",
|
||||||
keys = {
|
keys = {
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user