1 2 3 4 5 6
vim.api.nvim_create_autocmd({ "TermOpen" }, { pattern = { "*" }, callback = function(_) vim.o.ft = "term" end, })