This question already has an answer here:

I have a key binding to reload my ~/.vimrc. However, some of my options set via autocmd FileType are not active after reloading the config. Those are to set the text width, creating highlights, etc. I can trigger them manually by set syntax=python. Is there a way to trigger them again to all open buffers with the correct filetypes?

marked as duplicate by Mass, Alex Kroll, Herb Wolfe, peterh, D. Ben Knoble Jul 10 at 3:46

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.