Browse Source

vim: add more vector type highlighting for cpp syntax

master
cinnaboot 4 years ago
parent
commit
a777019b6f
  1. 1
      .vim/after/syntax/cpp.vim

1
.vim/after/syntax/cpp.vim

@ -2,3 +2,4 @@ syn keyword cTodo NOTE
syn keyword Type uint u8 u16 u32 u64 i8 i16 i32 i64 f32 f64 syn keyword Type uint u8 u16 u32 u64 i8 i16 i32 i64 f32 f64
syn keyword Type GLfloat GLenum GLint GLuint syn keyword Type GLfloat GLenum GLint GLuint
syn keyword Type vec2 vec3 vec4 mat2 mat3 mat4 syn keyword Type vec2 vec3 vec4 mat2 mat3 mat4
syn keyword Type ivec2 ivec3 ivec4 uvec2 uvec3 uvec4

Loading…
Cancel
Save