Skip to content

Commit bcb365e

Browse files
Fix not being able to save with Shader highlighting
The file types were not an array but just a long string. Fixes #9.
1 parent 3598299 commit bcb365e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

UnityShader.sublime-syntax

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
%YAML 1.2
22
---
33
name: Unity Shader
4-
file_extensions: [shader cginc]
4+
file_extensions: [shader, cginc]
55
scope: source.unity_shader
66
first_line_match: (Shader \".*\")
77
variables:
@@ -41,6 +41,6 @@ contexts:
4141
scope: storage.modifier.source.unity_shader
4242
- match: (?=ENDCG)
4343
pop: true
44-
44+
4545
cgprogram_main:
4646
- include: scope:source.c++

0 commit comments

Comments
 (0)