add flake files to smart name

This commit is contained in:
RingOfStorms (Joshua Bell) 2024-12-23 23:12:17 -06:00
parent 14db4f1738
commit 31b96e313a

View file

@ -54,13 +54,15 @@ local function smart_tab_name()
"index%..*", "index%..*",
"mod%..*", "mod%..*",
"Dockerfile", "Dockerfile",
"Dockerfile.*",
".envrc",
".env", ".env",
".env%..*", ".env%..*",
"router%..*", "router%..*",
"controller%..*", "controller%..*",
"service%..*", "service%..*",
"utils%..*", "utils%..*",
"util%..*", "util%..*",
"README%..*", "README%..*",
"LICENSE", "LICENSE",
"Makefile", "Makefile",
@ -197,6 +199,7 @@ local function smart_tab_name()
"cronhub%..*", "cronhub%..*",
"cronitor%..*", "cronitor%..*",
"healthchecks.io%..*", "healthchecks.io%..*",
"flake.*",
} }
-- Check if the filename matches any pattern in the whitelist -- Check if the filename matches any pattern in the whitelist
@ -210,7 +213,6 @@ local function smart_tab_name()
return filename return filename
end end
return { return {
"nvim-lualine/lualine.nvim", "nvim-lualine/lualine.nvim",
-- dependencies = { { "folke/noice.nvim", optional = true } }, -- dependencies = { { "folke/noice.nvim", optional = true } },