diff options
author | Agorgianitis Loukas <agorg_louk@icloud.com> | 2022-01-01 19:33:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-01 18:33:32 +0100 |
commit | f621f6c1eeadf73780ff7a7929a025a25a66702a (patch) | |
tree | 7f68db2ee278527ede47fade7ab87cdeaed376a1 | |
parent | cb80947143fe342797bcf571b6190c86b3c07700 (diff) | |
download | vim-polyglot-f621f6c1eeadf73780ff7a7929a025a25a66702a.tar.gz vim-polyglot-f621f6c1eeadf73780ff7a7929a025a25a66702a.zip |
Add heuristic for fragment shader files (#737)
Another step towards solving #570
-rw-r--r-- | heuristics.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
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 |