From 7be867e2aac31ef04565eaba6b416ede766c06d7 Mon Sep 17 00:00:00 2001 From: LostNeophyte Date: Sat, 11 Feb 2023 14:41:45 +0100 Subject: refactor(builtins): move builtins to ./builtins --- lua/lvim/core/lualine/conditions.lua | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 lua/lvim/core/lualine/conditions.lua (limited to 'lua/lvim/core/lualine/conditions.lua') diff --git a/lua/lvim/core/lualine/conditions.lua b/lua/lvim/core/lualine/conditions.lua deleted file mode 100644 index 42d52a83..00000000 --- a/lua/lvim/core/lualine/conditions.lua +++ /dev/null @@ -1,17 +0,0 @@ -local window_width_limit = 100 - -local conditions = { - buffer_not_empty = function() - return vim.fn.empty(vim.fn.expand "%:t") ~= 1 - end, - hide_in_width = function() - return vim.o.columns > window_width_limit - end, - -- check_git_workspace = function() - -- local filepath = vim.fn.expand "%:p:h" - -- local gitdir = vim.fn.finddir(".git", filepath .. ";") - -- return gitdir and #gitdir > 0 and #gitdir < #filepath - -- end, -} - -return conditions -- cgit v1.2.3