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.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
|
||||||
|
|
Loading…
Reference in New Issue