This file is indexed.

/usr/share/mc/syntax/glsl.syntax is in mc-data 3:4.8.19-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
# GLSL syntax file

# Authors:
#    Sergey Sharybin <sergey.vfx@gmail.com>
#
# Based on glsl-mode.el from
#    Xavier.Decoret@imag.fr
#    Jim Hourihan <jimhourihan ~at~ gmail.com>

context default

# Types

    keyword whole float yellow
    keyword whole double yellow
    keyword whole int yellow
    keyword whole void yellow
    keyword whole bool yellow
    keyword whole true yellow
    keyword whole false yellow
    keyword whole mat2 yellow
    keyword whole mat3 yellow
    keyword whole mat4 yellow
    keyword whole dmat2 yellow
    keyword whole dmat3 yellow
    keyword whole dmat4 yellow
    keyword whole mat2x2 yellow
    keyword whole mat2x3 yellow
    keyword whole mat2x4 yellow
    keyword whole dmat2x2 yellow
    keyword whole dmat2x3 yellow
    keyword whole dmat2x4 yellow
    keyword whole mat3x2 yellow
    keyword whole mat3x3 yellow
    keyword whole mat3x4 yellow
    keyword whole dmat3x2 yellow
    keyword whole dmat3x3 yellow
    keyword whole dmat3x4 yellow
    keyword whole mat4x2 yellow
    keyword whole mat4x3 yellow
    keyword whole mat4x4 yellow
    keyword whole dmat4x2 yellow
    keyword whole dmat4x3 yellow
    keyword whole dmat4x4 yellow
    keyword whole vec2 yellow
    keyword whole vec3 yellow
    keyword whole vec4 yellow
    keyword whole ivec2 yellow
    keyword whole ivec3 yellow
    keyword whole ivec4 yellow
    keyword whole bvec2 yellow
    keyword whole bvec3 yellow
    keyword whole bvec4 yellow
    keyword whole dvec2 yellow
    keyword whole dvec3 yellow
    keyword whole dvec4 yellow
    keyword whole uint yellow
    keyword whole uvec2 yellow
    keyword whole uvec3 yellow
    keyword whole uvec4 yellow
    keyword whole sampler1D yellow
    keyword whole sampler2D yellow
    keyword whole sampler3D yellow
    keyword whole samplerCube yellow
    keyword whole sampler1DShadow yellow
    keyword whole sampler2DShadow yellow
    keyword whole samplerCubeShadow yellow
    keyword whole sampler1DArray yellow
    keyword whole sampler2DArray yellow
    keyword whole sampler1DArrayShadow yellow
    keyword whole sampler2DArrayShadow yellow
    keyword whole isampler1D yellow
    keyword whole isampler2D yellow
    keyword whole isampler3D yellow
    keyword whole isamplerCube yellow
    keyword whole isampler1DArray yellow
    keyword whole isampler2DArray yellow
    keyword whole usampler1D yellow
    keyword whole usampler2D yellow
    keyword whole usampler3D yellow
    keyword whole usamplerCube yellow
    keyword whole usampler1DArray yellow
    keyword whole usampler2DArray yellow
    keyword whole sampler2DRect yellow
    keyword whole sampler2DRectShadow yellow
    keyword whole isampler2DRect yellow
    keyword whole usampler2DRect yellow
    keyword whole samplerBuffer yellow
    keyword whole isamplerBuffer yellow
    keyword whole usamplerBuffer yellow
    keyword whole sampler2DMS yellow
    keyword whole isampler2DMS yellow
    keyword whole usampler2DMS yellow
    keyword whole sampler2DMSArray yellow
    keyword whole isampler2DMSArray yellow
    keyword whole usampler2DMSArray yellow
    keyword whole samplerCubeArray yellow
    keyword whole samplerCubeArrayShadow yellow
    keyword whole isamplerCubeArray yellow
    keyword whole usamplerCubeArray yellow
    keyword whole image1D yellow
    keyword whole iimage1D yellow
    keyword whole uimage1D yellow
    keyword whole image2D yellow
    keyword whole iimage2D yellow
    keyword whole uimage2D yellow
    keyword whole image3D yellow
    keyword whole iimage3D yellow
    keyword whole uimage3D yellow
    keyword whole image2DRect yellow
    keyword whole iimage2DRect yellow
    keyword whole uimage2DRect yellow
    keyword whole imageCube yellow
    keyword whole iimageCube yellow
    keyword whole uimageCube yellow
    keyword whole imageBuffer yellow
    keyword whole iimageBuffer yellow
    keyword whole uimageBuffer yellow
    keyword whole image1DArray yellow
    keyword whole iimage1DArray yellow
    keyword whole uimage1DArray yellow
    keyword whole image2DArray yellow
    keyword whole iimage2DArray yellow
    keyword whole uimage2DArray yellow
    keyword whole imageCubeArray yellow
    keyword whole iimageCubeArray yellow
    keyword whole uimageCubeArray yellow
    keyword whole image2DMS yellow
    keyword whole iimage2DMS yellow
    keyword whole uimage2DMS yellow
    keyword whole image2DMSArray yellow
    keyword whole iimage2DMSArray yellow
    keyword whole uimage2DMSArray yellow
    keyword whole long yellow
    keyword whole short yellow
    keyword whole half yellow
    keyword whole fixed yellow
    keyword whole unsigned yellow
    keyword whole hvec2 yellow
    keyword whole hvec3 yellow
    keyword whole hvec4 yellow
    keyword whole fvec2 yellow
    keyword whole fvec3 yellow
    keyword whole fvec4 yellow
    keyword whole sampler3DRect yellow

# Modifiers

    keyword whole attribute yellow
    keyword whole const yellow
    keyword whole uniform yellow
    keyword whole varying yellow
    keyword whole buffer yellow
    keyword whole shared yellow
    keyword whole coherent yellow
    keyword whole volatile yellow
    keyword whole restrict yellow
    keyword whole readonly yellow
    keyword whole writeonly yellow
    keyword whole atomic_uint yellow
    keyword whole layout yellow
    keyword whole centroid yellow
    keyword whole flat yellow
    keyword whole smooth yellow
    keyword whole noperspective yellow
    keyword whole patch yellow
    keyword whole sample yellow
    keyword whole break yellow
    keyword whole continue yellow
    keyword whole do yellow
    keyword whole for yellow
    keyword whole while yellow
    keyword whole switch yellow
    keyword whole case yellow
    keyword whole default yellow
    keyword whole if yellow
    keyword whole else yellow
    keyword whole subroutine yellow
    keyword whole in yellow
    keyword whole out yellow
    keyword whole inout yellow
    keyword whole invariant yellow
    keyword whole discard yellow
    keyword whole return yellow
    keyword whole lowp yellow
    keyword whole mediump yellow
    keyword whole highp yellow
    keyword whole precision yellow
    keyword whole struct yellow
    keyword whole common yellow
    keyword whole partition yellow
    keyword whole active yellow
    keyword whole asm yellow
    keyword whole class yellow
    keyword whole union yellow
    keyword whole enum yellow
    keyword whole typedef yellow
    keyword whole template yellow
    keyword whole this yellow
    keyword whole packed yellow
    keyword whole resource yellow
    keyword whole goto yellow
    keyword whole inline yellow
    keyword whole noinline yellow
    keyword whole public yellow
    keyword whole static yellow
    keyword whole extern yellow
    keyword whole external yellow
    keyword whole interface yellow
    keyword whole superp yellow
    keyword whole input yellow
    keyword whole output yellow
    keyword whole filter yellow
    keyword whole sizeof yellow
    keyword whole cast yellow
    keyword whole namespace yellow
    keyword whole using yellow
    keyword whole row major yellow
    keyword whole early_fragment_tests yellow

# Deprecated
    keyword whole varying brightred
    keyword whole attribute brightred

# Built-in
    keyword whole abs brightmagenta
    keyword whole acos brightmagenta
    keyword whole acosh brightmagenta
    keyword whole all brightmagenta
    keyword whole any brightmagenta
    keyword whole asin brightmagenta
    keyword whole asinh brightmagenta
    keyword whole atan brightmagenta
    keyword whole atanh brightmagenta
    keyword whole atomicCounter brightmagenta
    keyword whole atomicCounterDecrement brightmagenta
    keyword whole atomicCounterIncrement brightmagenta
    keyword whole barrier brightmagenta
    keyword whole bitCount brightmagenta
    keyword whole bitfieldExtract brightmagenta
    keyword whole bitfieldInsert brightmagenta
    keyword whole bitfieldReverse brightmagenta
    keyword whole ceil brightmagenta
    keyword whole clamp brightmagenta
    keyword whole cos brightmagenta
    keyword whole cosh brightmagenta
    keyword whole cross brightmagenta
    keyword whole degrees brightmagenta
    keyword whole determinant brightmagenta
    keyword whole dFdx brightmagenta
    keyword whole dFdy brightmagenta
    keyword whole dFdyFine brightmagenta
    keyword whole dFdxFine brightmagenta
    keyword whole dFdyCoarse brightmagenta
    keyword whole dFdxCourse brightmagenta
    keyword whole fwidthFine brightmagenta
    keyword whole fwidthCoarse brightmagenta
    keyword whole distance brightmagenta
    keyword whole dot brightmagenta
    keyword whole EmitStreamVertex brightmagenta
    keyword whole EmitVertex brightmagenta
    keyword whole EndPrimitive brightmagenta
    keyword whole EndStreamPrimitive brightmagenta
    keyword whole equal brightmagenta
    keyword whole exp brightmagenta
    keyword whole exp2 brightmagenta
    keyword whole faceforward brightmagenta
    keyword whole findLSB brightmagenta
    keyword whole findMSB brightmagenta
    keyword whole floatBitsToInt brightmagenta
    keyword whole floatBitsToUint brightmagenta
    keyword whole floor brightmagenta
    keyword whole fma brightmagenta
    keyword whole fract brightmagenta
    keyword whole frexp brightmagenta
    keyword whole fwidth brightmagenta
    keyword whole greaterThan brightmagenta
    keyword whole greaterThanEqual brightmagenta
    keyword whole imageAtomicAdd brightmagenta
    keyword whole imageAtomicAnd brightmagenta
    keyword whole imageAtomicCompSwap brightmagenta
    keyword whole imageAtomicExchange brightmagenta
    keyword whole imageAtomicMax brightmagenta
    keyword whole imageAtomicMin brightmagenta
    keyword whole imageAtomicOr brightmagenta
    keyword whole imageAtomicXor brightmagenta
    keyword whole imageLoad brightmagenta
    keyword whole imageSize brightmagenta
    keyword whole imageStore brightmagenta
    keyword whole imulExtended brightmagenta
    keyword whole intBitsToFloat brightmagenta
    keyword whole imageSamples brightmagenta
    keyword whole interpolateAtCentroid brightmagenta
    keyword whole interpolateAtOffset brightmagenta
    keyword whole interpolateAtSample brightmagenta
    keyword whole inverse brightmagenta
    keyword whole inversesqrt brightmagenta
    keyword whole isinf brightmagenta
    keyword whole isnan brightmagenta
    keyword whole ldexp brightmagenta
    keyword whole length brightmagenta
    keyword whole lessThan brightmagenta
    keyword whole lessThanEqual brightmagenta
    keyword whole log brightmagenta
    keyword whole log2 brightmagenta
    keyword whole matrixCompMult brightmagenta
    keyword whole max brightmagenta
    keyword whole memoryBarrier brightmagenta
    keyword whole min brightmagenta
    keyword whole mix brightmagenta
    keyword whole mod brightmagenta
    keyword whole modf brightmagenta
    keyword whole noise brightmagenta
    keyword whole normalize brightmagenta
    keyword whole not brightmagenta
    keyword whole notEqual brightmagenta
    keyword whole outerProduct brightmagenta
    keyword whole packDouble2x32 brightmagenta
    keyword whole packHalf2x16 brightmagenta
    keyword whole packSnorm2x16 brightmagenta
    keyword whole packSnorm4x8 brightmagenta
    keyword whole packUnorm2x16 brightmagenta
    keyword whole packUnorm4x8 brightmagenta
    keyword whole pow brightmagenta
    keyword whole radians brightmagenta
    keyword whole reflect brightmagenta
    keyword whole refract brightmagenta
    keyword whole round brightmagenta
    keyword whole roundEven brightmagenta
    keyword whole sign brightmagenta
    keyword whole sin brightmagenta
    keyword whole sinh brightmagenta
    keyword whole smoothstep brightmagenta
    keyword whole sqrt brightmagenta
    keyword whole step brightmagenta
    keyword whole tan brightmagenta
    keyword whole tanh brightmagenta
    keyword whole texelFetch brightmagenta
    keyword whole texelFetchOffset brightmagenta
    keyword whole texture brightmagenta
    keyword whole textureGather brightmagenta
    keyword whole textureGatherOffset brightmagenta
    keyword whole textureGatherOffsets brightmagenta
    keyword whole textureGrad brightmagenta
    keyword whole textureGradOffset brightmagenta
    keyword whole textureLod brightmagenta
    keyword whole textureLodOffset brightmagenta
    keyword whole textureOffset brightmagenta
    keyword whole textureProj brightmagenta
    keyword whole textureProjGrad brightmagenta
    keyword whole textureProjGradOffset brightmagenta
    keyword whole textureProjLod brightmagenta
    keyword whole textureProjLodOffset brightmagenta
    keyword whole textureProjOffset brightmagenta
    keyword whole textureQueryLevels brightmagenta
    keyword whole textureQueryLod brightmagenta
    keyword whole textureSize brightmagenta
    keyword whole transpose brightmagenta
    keyword whole trunc brightmagenta
    keyword whole uaddCarry brightmagenta
    keyword whole uintBitsToFloat brightmagenta
    keyword whole umulExtended brightmagenta
    keyword whole unpackDouble2x32 brightmagenta
    keyword whole unpackHalf2x16 brightmagenta
    keyword whole unpackSnorm2x16 brightmagenta
    keyword whole unpackSnorm4x8 brightmagenta
    keyword whole unpackUnorm2x16 brightmagenta
    keyword whole unpackUnorm4x8 brightmagenta
    keyword whole usubBorrow brightmagenta

# Deprecated built-in
    keyword whole texture1D magenta
    keyword whole texture1DProj magenta
    keyword whole texture1DLod magenta
    keyword whole texture1DProjLod magenta
    keyword whole texture2D magenta
    keyword whole texture2DProj magenta
    keyword whole texture2DLod magenta
    keyword whole texture2DProjLod magenta
    keyword whole texture2DRect magenta
    keyword whole texture2DRectProj magenta
    keyword whole texture3D magenta
    keyword whole texture3DProj magenta
    keyword whole texture3DLod magenta
    keyword whole texture3DProjLod magenta
    keyword whole shadow1D magenta
    keyword whole shadow1DProj magenta
    keyword whole shadow1DLod magenta
    keyword whole shadow1DProjLod magenta
    keyword whole shadow2D magenta
    keyword whole shadow2DProj magenta
    keyword whole shadow2DLod magenta
    keyword whole shadow2DProjLod magenta
    keyword whole textureCube magenta
    keyword whole textureCubeLod magenta

# Deprecated variables

    keyword whole gl_FragColor red
    keyword whole gl_FragData red
    keyword whole gl_MaxVarying red
    keyword whole gl_MaxVaryingFloats red
    keyword whole gl_MaxVaryingComponents red

# Comments
    keyword /\* brown
    keyword \*/ brown
    keyword // brown

# Preprocessor
    keyword # brightred

# Punctuation
    keyword > white
    keyword < white
    keyword \+ white
    keyword - white
    keyword \* white
    keyword / white
    keyword % white
    keyword = white
    keyword != white
    keyword == white
    keyword & white
    keyword | white
    keyword :: white
    keyword -> white
    keyword { brightcyan
    keyword } brightcyan
    keyword ( brightcyan
    keyword ) brightcyan
    keyword [ brightcyan
    keyword ] brightcyan
    keyword , brightcyan
    keyword : brightcyan
    keyword ; brightmagenta

context exclusive # \n brightred
    keyword \\\n yellow
    keyword /\**\*/ brown
    keyword //*\n brown
    keyword "+" red
    keyword <+> red
context exclusive /\* \*/ brown
    spellcheck
context exclusive // \n brown
    spellcheck

context " " green
    spellcheck
context ' ' brightgreen
    spellcheck