Skip to content

Commit a1f43ac

Browse files
Add simple highlighting for compute shaders
1 parent e423465 commit a1f43ac

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

UnityComputeShader.sublime-syntax

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
%YAML 1.2
2+
---
3+
name: Unity Compute Shader
4+
file_extensions: [compute]
5+
scope: source.unity_compute_shader
6+
first_line_match: (#pragma kernel.*)
7+
contexts:
8+
main:
9+
- include: scope:source.c++

0 commit comments

Comments
 (0)