Add "Portfile" as a fileType for the MacPorts language. The latest TM release claims it now anchors against / as well, so hopefully this should work Changed: U trunk/Bundles/MacPorts.tmbundle/Syntaxes/MacPorts Portfile.tmLanguage