Rename syntax definitions

Duplicate syntax definition names may cause problems.
Since nano comes with predefined all-lowercase syntax definitions,
we use uppercase letters everywhere to reduce the risk of future conflicts
This commit is contained in:
ThomasR 2016-03-02 20:49:58 +01:00
parent 09236699e7
commit bba53c3940
75 changed files with 80 additions and 82 deletions

View file

@ -1,4 +1,4 @@
syntax "glsl" "\.(frag|vert|fp|vp|glsl)$"
syntax "GLSL" "\.(frag|vert|fp|vp|glsl)$"
color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[()]"
color green "\<(void|bool|bvec2|bvec3|bvec4|int|ivec2|ivec3|ivec4|float|vec2|vec3|vec4|mat2|mat3|mat4|struct|sampler1D|sampler2D|sampler3D|samplerCUBE|sampler1DShadow|sampler2DShadow)\>"