Skip to main content
Clarify question
Source Link
EvergreenTree
  • 8.4k
  • 2
  • 37
  • 59

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?

Source Link
acgtyrant
  • 317
  • 1
  • 2
  • 8

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.