mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(dotenv): parse .env* files as conf vs. sh
This commit is contained in:
parent
a1c3ec4cd4
commit
55ff38d849
1 changed files with 7 additions and 2 deletions
|
|
@ -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",
|
||||
},
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue