From 3702e682ac3e85be010fbd92454dce1533b579b4 Mon Sep 17 00:00:00 2001 From: Hubert Pelczarski <41551030+hoob3rt@users.noreply.github.com> Date: Tue, 18 May 2021 17:13:13 +0200 Subject: [PATCH] refactor: remove filename warning (#228) --- lua/lualine/components/filename.lua | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lua/lualine/components/filename.lua b/lua/lualine/components/filename.lua index 1b2d75c..d43c60b 100644 --- a/lua/lualine/components/filename.lua +++ b/lua/lualine/components/filename.lua @@ -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