mirror of
https://github.com/vim/vim.git
synced 2025-10-24 08:54:47 -04:00
Problem: filetype: openCL files are not recognized
Solution: detect '*.cl' files as opencl or lisp filetype,
include a opencl syntax and filetype plugin (Wu, Zhenyu)
closes: #15825
Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Christian Brabandt <cb@256bit.org>
14 lines
250 B
VimL
14 lines
250 B
VimL
" 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"
|