mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
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:
parent
09236699e7
commit
bba53c3940
75 changed files with 80 additions and 82 deletions
|
|
@ -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)\>"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue