Since few releases ago even a file called Gemfile (which uses Ruby syntax) was able to get its syntax remembered through Open all with current extension as…
Now when we do open such files they are always being treated as Plain Text, and we have to choose the syntax everytime.