refactor: remove filename warning (#228)

This commit is contained in:
Hubert Pelczarski 2021-05-18 17:13:13 +02:00 committed by GitHub
parent 9d9ee2d60e
commit 3702e682ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -24,12 +24,6 @@ FileName.new = function(self, options, child)
new_instance.options.file_status = true
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
end