From 31b96e313a70650fee70bd33765bb4ffbeabcb1e Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Mon, 23 Dec 2024 23:12:17 -0600 Subject: [PATCH] add flake files to smart name --- lua/plugins/editor_lua_line.lua | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/lua/plugins/editor_lua_line.lua b/lua/plugins/editor_lua_line.lua index ed93b6d..904cd1c 100644 --- a/lua/plugins/editor_lua_line.lua +++ b/lua/plugins/editor_lua_line.lua @@ -54,13 +54,15 @@ local function smart_tab_name() "index%..*", "mod%..*", "Dockerfile", + "Dockerfile.*", + ".envrc", ".env", ".env%..*", - "router%..*", - "controller%..*", - "service%..*", - "utils%..*", - "util%..*", + "router%..*", + "controller%..*", + "service%..*", + "utils%..*", + "util%..*", "README%..*", "LICENSE", "Makefile", @@ -197,6 +199,7 @@ local function smart_tab_name() "cronhub%..*", "cronitor%..*", "healthchecks.io%..*", + "flake.*", } -- Check if the filename matches any pattern in the whitelist @@ -210,7 +213,6 @@ local function smart_tab_name() return filename end - return { "nvim-lualine/lualine.nvim", -- dependencies = { { "folke/noice.nvim", optional = true } },