From f621f6c1eeadf73780ff7a7929a025a25a66702a Mon Sep 17 00:00:00 2001 From: Agorgianitis Loukas Date: Sat, 1 Jan 2022 19:33:32 +0200 Subject: Add heuristic for fragment shader files (#737) Another step towards solving #570 --- heuristics.yaml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'heuristics.yaml') diff --git a/heuristics.yaml b/heuristics.yaml index fd7fbe94..e9d81154 100644 --- a/heuristics.yaml +++ b/heuristics.yaml @@ -77,6 +77,13 @@ rules: - override: true - filetype: forth --- +extensions: [frag] +rules: +- lines: 50 + rules: + - pattern: '\s*(#version|precision|uniform|varying|vec[234])' + filetype: glsl +--- extensions: [re] rules: - lines: 50 -- cgit v1.2.3