In some trial-and-error testing using the following two statements:
iabbrev <buffer> return NONONON autocmd FileType python :iabbrev <buffer> return YESYESYES
It looks like regardless of specificity, the
vimrc will always use the first item encountered. That is, when I open a python file and type in
return, it will give me
NONONON. is this a correct understanding? Are there ever any times when a later or more specific item is used, or is it always the first-encountered value used for all commands and such? Where could I find more information on the 'order of how variables are set in the vimrc and such' ?