Vim Tips Wiki


1,624pages on
this wiki
Add New Page

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

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki