Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
How to set filetype to `PKGBUILD`PKGBUILD when the filename is `PKGBUILD`PKGBUILD?
I open a file called PKGBUILD, then Vim willwant vim to automatically set itsthe filetype to PKGBUILDPKGBUILD when I am editing files that are named "PKGBUILD". How can I accomplish this?
How to set filetype to `PKGBUILD` when the filename is `PKGBUILD`?
I open a file called PKGBUILD, then Vim will set its filetype to PKGBUILD.
How to set filetype to PKGBUILD when the filename is PKGBUILD?
I want vim to automatically set the filetype to PKGBUILD when I am editing files that are named "PKGBUILD". How can I accomplish this?