I've had some issues lately reconciling my
.vimrc with files in
after/ftplugin. In what order are all these things read?
For example: when I call in my
.vimrc the command
plugin filetype on, is the filetype program read immediately, or after the rest of .vimrc is read? Furthermore, I'm guessing the order is that first Vim checks for a
.vim/ftplugin/myfiletype.vim file before loading the "default"
$VIMRUNTIME, if it found nothing then runs the default file, and then checks for fies in
set syntax=myfiletypesyntax is called, are those lines read immediately or at the end of file?