Fix filename error message (#237)
This commit is contained in:
parent
f644841206
commit
33aaabe672
|
@ -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.schedule(function()
|
||||||
vim.api.nvim_err_writeln(
|
vim.api.nvim_err_writeln(
|
||||||
[[ filetype component configuration changed, see :h lualine_custom_options ]])
|
[[Lualine: filename component configuration changed, see :h lualine_custom_options ]])
|
||||||
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
return new_instance
|
return new_instance
|
||||||
|
|
Loading…
Reference in New Issue