mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(extras): env highlighting with dot extra
This commit is contained in:
parent
530e94a9fa
commit
7c513b1db2
1 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue