treesitter html highlighting/injections

This commit is contained in:
2022-12-17 12:19:57 -06:00
parent 46a513cc74
commit 4b30748f16
5 changed files with 95 additions and 4 deletions
+1
View File
@@ -126,6 +126,7 @@ opt.mouse = ""
vim.cmd([[hi CursorLine cterm=NONE ctermbg=darkgray ctermfg=white]])
vim.cmd([[au BufRead,BufNewFile .env.* set filetype=sh]])
vim.cmd([[au BufRead,BufNewFile Dockerfile.* set filetype=dockerfile]])
vim.cmd([[au BufRead,BufNewFile *.html set filetype=html]])
-- redo folds on write
vim.cmd([[au BufWrite * normal zx]])