Fix filename error message (#237)

This commit is contained in:
Shadman 2021-05-12 15:27:37 +06:00 committed by GitHub
parent f644841206
commit 33aaabe672
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -25,8 +25,10 @@ FileName.new = function(self, options, child)
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 if new_instance.options.full_path or new_instance.options.shorten then
vim.api.nvim_err_writeln( vim.schedule(function()
[[ filetype component configuration changed, see :h lualine_custom_options ]]) vim.api.nvim_err_writeln(
[[Lualine: filename component configuration changed, see :h lualine_custom_options ]])
end)
end end
return new_instance return new_instance