Wikia

Vim Tips Wiki

Script:3157

1,623pages on
this wiki
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 vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

CommentsEdit

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

Around Wikia's network

Random Wiki