fix: Set env files ft

This commit is contained in:
punkfairie 2025-01-04 21:14:46 -08:00
parent 45bbe9938f
commit 8ab6c6b964
Signed by: punkfairie
GPG key ID: A509E8F77FB9D696

View file

@ -10,13 +10,14 @@ return {
end,
after = function()
vim.filetype.add({
extension = { rasi = 'rasi', rofi = 'rasi', wofi = 'rasi' },
extension = { rasi = 'rasi', rofi = 'rasi', wofi = 'rasi', env = 'conf' },
filename = { ['.env'] = 'conf' },
pattern = {
['.*/waybar/config'] = 'jsonc',
['.*/mako/config'] = 'dosini',
['.*/kitty/.+%.conf'] = 'kitty',
['.*/hypr/.+*.conf'] = 'hyprlang',
['%.env%.[%w_.-]+'] = 'sh',
['%.env%.[%w_.-]+'] = 'conf',
},
})