add flake files to smart name
This commit is contained in:
parent
14db4f1738
commit
31b96e313a
1 changed files with 8 additions and 6 deletions
|
@ -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 } },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue