Vim Tips Wiki


1,623pages on
this wiki
Add New Page
Add New Page Talk0

Use this page to discuss script 3157 opencl: syntax file for OpenCL 1.1

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on
  • This page may be out of date: check the script's page above, and its release notes.


Editing $VIMRUNTIME/ftdetect.vim is not recommended, since it will be overwritten when Vim is updated. Instead create a file $HOME/.vim/ftdetect/opencl.vim (replace .vim with vimfiles on Windows) with this:

au BufRead,BufNewFile *.cl set filetype=opencl

--March 20, 2015

Also on Fandom

Random Wiki