set the file type to css for .tcss

This commit is contained in:
JesseBot 2023-09-10 14:32:13 +02:00
parent 8f01d5a3bc
commit f420ca6918

View file

@ -91,6 +91,14 @@ vim.api.nvim_create_autocmd({"BufEnter", "BufWinEnter"}, {
end,
})
-- autocommand to set the file type to css for tcss
vim.api.nvim_create_autocmd({"BufEnter", "BufWinEnter"}, {
pattern = {"*.tcss"},
callback = function()
vim.cmd("set filetype=css")
end,
})
require('user.tree-sitter')
-- folding and indentation