refactor: remove filename warning (#228)
This commit is contained in:
parent
9d9ee2d60e
commit
3702e682ac
|
@ -24,12 +24,6 @@ FileName.new = function(self, options, child)
|
||||||
new_instance.options.file_status = true
|
new_instance.options.file_status = true
|
||||||
end
|
end
|
||||||
if new_instance.options.path == nil then new_instance.options.path = 0 end
|
if new_instance.options.path == nil then new_instance.options.path = 0 end
|
||||||
if new_instance.options.full_path or new_instance.options.shorten then
|
|
||||||
vim.schedule(function()
|
|
||||||
vim.api.nvim_err_writeln(
|
|
||||||
[[Lualine: filename component configuration changed, see :h lualine-component_options ]])
|
|
||||||
end)
|
|
||||||
end
|
|
||||||
|
|
||||||
return new_instance
|
return new_instance
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue