We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
paste_default_config
1 parent e9edc00 commit 54fe2a5Copy full SHA for 54fe2a5
lua/neo-tree.lua
@@ -5,7 +5,7 @@ local M = {}
5
6
-- DEPRECATED: to be removed in a future release, use this instead:
7
-- ```
8
--- require("neo-tree.command").execute({ action = "close" })
+-- require("neo-tree.command").execute({ action = "close" })
9
10
M.close_all = function()
11
require("neo-tree.command").execute({ action = "close" })
@@ -47,7 +47,7 @@ M.get_prior_window = function(ignore_filetypes)
47
end
48
49
M.paste_default_config = function()
50
- local base_path = debug.getinfo(utils.truthy).source:match("@(.*)/utils.lua$")
+ local base_path = debug.getinfo(utils.truthy).source:match("@(.*)/utils/init.lua$")
51
local config_path = base_path .. utils.path_separator .. "defaults.lua"
52
local lines = vim.fn.readfile(config_path)
53
if lines == nil then
0 commit comments