fix(dot): use syntax sh for dotenv files. Closes #3145

This commit is contained in:
Folke Lemaitre 2024-05-12 16:39:00 +02:00
parent cfe87ba894
commit 42010d1dfb
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -35,7 +35,7 @@ return {
vim.filetype.add({ vim.filetype.add({
extension = { rasi = "rasi", rofi = "rasi", wofi = "rasi" }, extension = { rasi = "rasi", rofi = "rasi", wofi = "rasi" },
filename = { filename = {
[".env"] = "dotenv", [".env"] = "sh",
["vifmrc"] = "vim", ["vifmrc"] = "vim",
}, },
pattern = { pattern = {
@ -43,7 +43,7 @@ return {
[".*/mako/config"] = "dosini", [".*/mako/config"] = "dosini",
[".*/kitty/.+%.conf"] = "bash", [".*/kitty/.+%.conf"] = "bash",
[".*/hypr/.+%.conf"] = "hyprlang", [".*/hypr/.+%.conf"] = "hyprlang",
["%.env%.[%w_.-]+"] = "dotenv", ["%.env%.[%w_.-]+"] = "sh",
}, },
}) })