fix(dotenv): parse .env* files as conf vs. sh

This commit is contained in:
Jorge Villalobos 2024-09-19 16:58:46 -04:00
parent a1c3ec4cd4
commit 55ff38d849
No known key found for this signature in database
GPG key ID: 8470FA7E2AC8A3B3

View file

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