xcode: Classify metal and glsl files correctly

This fixes syntax highlighting on Xcode when viewing those files.
pull/12618/head
Albert Tang 2 years ago committed by Eli Schwartz
parent 5bf99afe1a
commit 3836deeed2
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 2
      mesonbuild/backend/xcodebackend.py

@ -44,6 +44,8 @@ XCODETYPEMAP = {'c': 'sourcecode.c.c',
'o': 'compiled.mach-o.objfile',
's': 'sourcecode.asm',
'asm': 'sourcecode.asm',
'metal': 'sourcecode.metal',
'glsl': 'sourcecode.glsl',
}
LANGNAMEMAP = {'c': 'C',
'cpp': 'CPLUSPLUS',

Loading…
Cancel
Save