aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/opencl.vim
blob: e8570fbe95db6049d25ddb6a992d05ce12bcb9d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
" Vim filetype plugin file
" Language:	OpenCL
" Maintainer:	Wu, Zhenyu <wuzhenyu@ustc.edu>
" Last Change:	2024 Nov 19

if exists("b:did_ftplugin") | finish | endif
let b:did_ftplugin = 1

setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:///,://
setlocal commentstring=/*\ %s\ */ define& include&

let b:undo_ftplugin = "setl commentstring< comments<"