mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 00:49:03 +02:00
feat(dot): add more filetypes (#2987)
Adds dotenv files support for file names like prod.env .env .env.xyz Also adds configurationfiletypes rofi, wofi and vimfmrc
This commit is contained in:
parent
ceb4855b43
commit
15b09e800b
1 changed files with 6 additions and 1 deletions
|
@ -35,12 +35,17 @@ return {
|
|||
end
|
||||
|
||||
vim.filetype.add({
|
||||
extension = { rasi = "rasi" },
|
||||
extension = { rasi = "rasi", rofi = "rasi", wofi = "rasi" },
|
||||
filename = {
|
||||
[".env"] = "dotenv",
|
||||
["vifmrc"] = "vim",
|
||||
},
|
||||
pattern = {
|
||||
[".*/waybar/config"] = "jsonc",
|
||||
[".*/mako/config"] = "dosini",
|
||||
[".*/kitty/*.conf"] = "bash",
|
||||
[".*/hypr/.*%.conf"] = "hyprlang",
|
||||
["%.env%.[%w_.-]+"] = "dotenv",
|
||||
},
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue