I would like to edit a Gemfile in Notepad++, but since Gemfiles don’t have extensions, there doesn’t seem to be a way to make Notepad++ automatically detect Gemfile as a Ruby file. I have to manually set the language every time I open a Gemfile.
Is there a way to have Notepad++ recognize the language of a file based on its full name, not just its extension? Is there a plugin for this? Thanks.
As BoltClock said, not without a plugin. I’ll mark this as the answer until someone else provides a better one.