1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-10-17 20:52:40 +00:00

Add autotag to htmldjango

This commit is contained in:
Mo 2022-11-02 16:17:23 +01:00
parent 29a9a669c8
commit 4b7d6ef8b1

View file

@ -31,5 +31,9 @@ require("nvim-treesitter.configs").setup({
}, },
autotag = { autotag = {
enable = true, enable = true,
filetypes = { "html", "htmldjango" },
}, },
}) })
-- Temporary workaround for autotag in htmldjango until a parser exists
require("nvim-treesitter.parsers").filetype_to_parsername.htmldjango = "html"