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,
|
end,
|
||||||
after = function()
|
after = function()
|
||||||
vim.filetype.add({
|
vim.filetype.add({
|
||||||
extension = { rasi = 'rasi', rofi = 'rasi', wofi = 'rasi' },
|
extension = { rasi = 'rasi', rofi = 'rasi', wofi = 'rasi', env = 'conf' },
|
||||||
|
filename = { ['.env'] = 'conf' },
|
||||||
pattern = {
|
pattern = {
|
||||||
['.*/waybar/config'] = 'jsonc',
|
['.*/waybar/config'] = 'jsonc',
|
||||||
['.*/mako/config'] = 'dosini',
|
['.*/mako/config'] = 'dosini',
|
||||||
['.*/kitty/.+%.conf'] = 'kitty',
|
['.*/kitty/.+%.conf'] = 'kitty',
|
||||||
['.*/hypr/.+*.conf'] = 'hyprlang',
|
['.*/hypr/.+*.conf'] = 'hyprlang',
|
||||||
['%.env%.[%w_.-]+'] = 'sh',
|
['%.env%.[%w_.-]+'] = 'conf',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue