* stylua -> EmmyLuaCodeStyle: config and doc * stylua -> EmmyLuaCodeStyle: CI * stylua -> EmmyLuaCodeStyle: CI * stylua -> EmmyLuaCodeStyle: CI * stylua -> EmmyLuaCodeStyle: CI * stylua -> EmmyLuaCodeStyle: CI * stylua -> EmmyLuaCodeStyle * stylua -> EmmyLuaCodeStyle: call_arg_parentheses = always * stylua -> EmmyLuaCodeStyle * stylua -> EmmyLuaCodeStyle
This commit is contained in:
committed by
GitHub
parent
9650e735ba
commit
1ae1c33ce1
@@ -1,5 +1,5 @@
|
||||
local utils = require "nvim-tree.utils"
|
||||
local notify = require "nvim-tree.notify"
|
||||
local utils = require("nvim-tree.utils")
|
||||
local notify = require("nvim-tree.notify")
|
||||
|
||||
local M = {}
|
||||
|
||||
@@ -64,23 +64,24 @@ end
|
||||
|
||||
local function deprecated(opts)
|
||||
if type(opts.view) == "table" and opts.view.hide_root_folder then
|
||||
notify.info "view.hide_root_folder is deprecated, please set renderer.root_folder_label = false"
|
||||
notify.info("view.hide_root_folder is deprecated, please set renderer.root_folder_label = false")
|
||||
end
|
||||
end
|
||||
|
||||
local function removed(opts)
|
||||
if opts.auto_close then
|
||||
notify.warn "auto close feature has been removed: https://github.com/nvim-tree/nvim-tree.lua/wiki/Auto-Close"
|
||||
notify.warn("auto close feature has been removed: https://github.com/nvim-tree/nvim-tree.lua/wiki/Auto-Close")
|
||||
opts.auto_close = nil
|
||||
end
|
||||
|
||||
if opts.focus_empty_on_setup then
|
||||
notify.warn "focus_empty_on_setup has been removed: https://github.com/nvim-tree/nvim-tree.lua/wiki/Open-At-Startup"
|
||||
notify.warn("focus_empty_on_setup has been removed: https://github.com/nvim-tree/nvim-tree.lua/wiki/Open-At-Startup")
|
||||
opts.focus_empty_on_setup = nil
|
||||
end
|
||||
|
||||
if opts.create_in_closed_folder then
|
||||
notify.warn "create_in_closed_folder has been removed and is now the default behaviour. You may use api.fs.create to add a file under your desired node."
|
||||
notify.warn(
|
||||
"create_in_closed_folder has been removed and is now the default behaviour. You may use api.fs.create to add a file under your desired node.")
|
||||
end
|
||||
opts.create_in_closed_folder = nil
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user