aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/opencl.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/syntax/opencl.vim')
-rw-r--r--runtime/syntax/opencl.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/syntax/opencl.vim b/runtime/syntax/opencl.vim
new file mode 100644
index 0000000000..c237aa30f9
--- /dev/null
+++ b/runtime/syntax/opencl.vim
@@ -0,0 +1,13 @@
+" Vim syntax file
+" Language: OpenCL
+" Last Change: 2024 Nov 19
+" Maintainer: Wu, Zhenyu <wuzhenyu@ustc.edu>
+
+if exists("b:current_syntax")
+ finish
+endif
+
+" TODO: support openCL specific keywords
+runtime! syntax/c.vim
+
+let current_syntax = "opencl"