fix(extras): env highlighting with dot extra

This commit is contained in:
Feliche-Demian Netliukh 2024-05-12 12:41:12 +01:00
parent 530e94a9fa
commit 7c513b1db2

View file

@ -47,6 +47,14 @@ return {
}, },
}) })
-- add syntax highlighting for new filetype
vim.api.nvim_create_autocmd("FileType", {
pattern = "dotenv",
callback = function()
vim.bo.syntax = "sh"
end,
})
add("git_config") add("git_config")
if have("hypr") then if have("hypr") then