mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 03:23:51 -05:00
Add heuristic for fragment shader files (#737)
Another step towards solving #570
This commit is contained in:
committed by
GitHub
parent
cb80947143
commit
f621f6c1ee
@@ -77,6 +77,13 @@ rules:
|
|||||||
- override: true
|
- override: true
|
||||||
- filetype: forth
|
- filetype: forth
|
||||||
---
|
---
|
||||||
|
extensions: [frag]
|
||||||
|
rules:
|
||||||
|
- lines: 50
|
||||||
|
rules:
|
||||||
|
- pattern: '\s*(#version|precision|uniform|varying|vec[234])'
|
||||||
|
filetype: glsl
|
||||||
|
---
|
||||||
extensions: [re]
|
extensions: [re]
|
||||||
rules:
|
rules:
|
||||||
- lines: 50
|
- lines: 50
|
||||||
|
|||||||
Reference in New Issue
Block a user