diff options
| author | Robin Kaup <robin@robinkaup.com> | 2012-11-21 09:08:30 +0000 |
|---|---|---|
| committer | Robin Kaup <robin@robinkaup.com> | 2012-11-21 09:36:39 +0000 |
| commit | 018795a69d99269af03d8e4d1aa9f57a0cbd6eb4 (patch) | |
| tree | 8585f6fd3d9db03d33618485d36ae70afb0b3d26 /syntax | |
| parent | fbddc0c520a31680a58eb35c09792cc4b52e3f6c (diff) | |
| download | vim-glsl-018795a69d99269af03d8e4d1aa9f57a0cbd6eb4.tar.gz vim-glsl-018795a69d99269af03d8e4d1aa9f57a0cbd6eb4.zip | |
Don't highlight numbers at the end of identifiers.
Diffstat (limited to 'syntax')
| -rw-r--r-- | syntax/glsl.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/syntax/glsl.vim b/syntax/glsl.vim index 7e36450..d711cfb 100644 --- a/syntax/glsl.vim +++ b/syntax/glsl.vim @@ -85,6 +85,10 @@ syn keyword glslQualifier triangle_strip triangles triangles_adjacency unifor syn keyword glslQualifier coherent volatile restrict readonly writeonly +" This prevents numbers at ends of identifies from being highlighted as +" numbers. +syn match glslIdentifier display "\I\i*" + hi def link glslConditional Conditional hi def link glslRepeat Repeat hi def link glslStatement Statement |
