From 89a741399df2cc5b3860d7f1b65e61751e15a4ff Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Thu, 12 May 2011 12:18:58 -0400 Subject: [PATCH] Update pyopencl.vim. --- contrib/pyopencl.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/contrib/pyopencl.vim b/contrib/pyopencl.vim index 4b5c4eb8..e3e5fa9f 100644 --- a/contrib/pyopencl.vim +++ b/contrib/pyopencl.vim @@ -69,8 +69,13 @@ syn region pythonCLString \ start=+[uU]\=\z('''\|"""\)//CL//+ end="\z1" keepend \ contains=@clCode,@clmakoCode +syn region pythonCLRawString + \ start=+[uU]\=[rR]\z('''\|"""\)//CL//+ end="\z1" keepend + \ contains=@clCode,@clmakoCode + " Uncomment if you still want the code highlighted as a string. " hi link pythonCLString String +" hi link pythonCLRawString String let b:current_syntax = "pyopencl" -- GitLab