fix: Set env files ft
This commit is contained in:
parent
45bbe9938f
commit
8ab6c6b964
1 changed files with 3 additions and 2 deletions
|
@ -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',
|
||||
},
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue