Skip to content

Commit f621f6c

Browse files
author
Agorgianitis Loukas
authored
Add heuristic for fragment shader files (#737)
Another step towards solving #570
1 parent cb80947 commit f621f6c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

heuristics.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,13 @@ rules:
7777
- override: true
7878
- filetype: forth
7979
---
80+
extensions: [frag]
81+
rules:
82+
- lines: 50
83+
rules:
84+
- pattern: '\s*(#version|precision|uniform|varying|vec[234])'
85+
filetype: glsl
86+
---
8087
extensions: [re]
8188
rules:
8289
- lines: 50

0 commit comments

Comments
 (0)