Rewrite autodetects in lua

This commit is contained in:
2025-01-09 00:25:53 +01:00
parent 70f1b8d48d
commit 889af814fc
5 changed files with 12 additions and 3 deletions

View File

@ -0,0 +1,6 @@
vim.api.nvim_create_autocmd({ "BufNewFile", "BufRead" }, {
pattern = "*.html.twig",
callback = function()
vim.api.nvim_buf_set_option(vim.api.nvim_get_current_buf(), "syntax", "html")
end
})