mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 11:33:52 -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
|
||||
- filetype: forth
|
||||
---
|
||||
extensions: [frag]
|
||||
rules:
|
||||
- lines: 50
|
||||
rules:
|
||||
- pattern: '\s*(#version|precision|uniform|varying|vec[234])'
|
||||
filetype: glsl
|
||||
---
|
||||
extensions: [re]
|
||||
rules:
|
||||
- lines: 50
|
||||
|
||||
Reference in New Issue
Block a user