Folks, Vim syntax file creation is a bit of a mystery to me, so I though I'd ask here. I'm sure this is a very simple question with a simple answer, but I'm stuck.
Namely, I do programming in CUDA Fortran and I've (by borrowing liberally) figured out how to syntax highlight all the important keywords and the like in the syntax. But there is one thing which is still evading my efforts: the CUDA kernel call. In CUDA Fortran, you call kernels by, say: call my_kernel <<<grid, block>>> (a, b, n) The word "call" is nicely highlighted, of course, but the <<< ... >>> region isn't quite what I want. The first three "<<<" are in purple (in my scheme), but the last ">>>" are colored purple-yellow-yellow. I'd like everything from the first "<" to the last ">" in the same color if possible. My problem seems to be matching those multiple ">" signs and my attempts with "syn region", start, end, etc. just aren't working. Any help with a simple query? Thanks, Matt -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php
