if exists('g:loaded_neo_tree') finish endif let g:loaded_neo_tree = 1 if !exists('g:neo_tree_remove_legacy_commands') command! -nargs=? NeoTreeClose lua require("neo-tree").close_all("") command! -nargs=? NeoTreeFloat lua require("neo-tree").float("") command! -nargs=? NeoTreeFocus lua require("neo-tree").focus("") command! -nargs=? NeoTreeShow lua require("neo-tree").show("", true) command! -bang NeoTreeReveal lua require("neo-tree").reveal_current_file("filesystem", false, "" == "!") command! NeoTreeRevealInSplit lua require("neo-tree").reveal_in_split("filesystem", false) command! NeoTreeShowInSplit lua require("neo-tree").show_in_split("filesystem", false) command! -nargs=? NeoTreeFloatToggle lua require("neo-tree").float("", true) command! -nargs=? NeoTreeFocusToggle lua require("neo-tree").focus("", true, true) command! -nargs=? NeoTreeShowToggle lua require("neo-tree").show("", true, true, true) command! -bang NeoTreeRevealToggle lua require("neo-tree").reveal_current_file("filesystem", true, "" == "!") command! NeoTreeRevealInSplitToggle lua require("neo-tree").reveal_in_split("filesystem", true) command! NeoTreeShowInSplitToggle lua require("neo-tree").show_in_split("filesystem", true) command! NeoTreePasteConfig lua require("neo-tree").paste_default_config() command! -nargs=? NeoTreeSetLogLevel lua require("neo-tree").set_log_level("") command! NeoTreeLogs lua require("neo-tree").show_logs() endif command! -nargs=* -complete=custom,v:lua.require'neo-tree.command'.complete_args \ Neotree lua require("neo-tree.command")._command()