aboutsummaryrefslogtreecommitdiff
path: root/after/syntax
Commit message (Collapse)AuthorAgeFilesLines
* Update my name and emailSergii Tykhomyrov2022-02-062-2/+2
|
* Add shader source syntax highlighting in ElmSergey Tikhomirov2020-04-211-0/+11
|
* Added containedin=javaScript to html syntax region (#17)Auxiliary-Character2019-11-011-0/+2
| | | | | | | | | | | | | | | I was suprised to find when I started digging that this plugin already has a syntax region for html, since it didn't actually work for me. After investigating what was going on using [this](https://vim.fandom.com/wiki/Identify_the_syntax_highlighting_group_used_at_the_cursor), I came to the realization that the html plugin was already highlighting the content within script tags as JavaScript, and that this was taking priority over glsl highlighting that this plugin does. Well, according to [this StackOverflow answer](https://vim.fandom.com/wiki/Identify_the_syntax_highlighting_group_used_at_the_cursor), you can beat such priority conflicts by telling vim that this group (`ShaderScript`) `containedin` another group (`javaScript`). This appears to have solved the problem for me.
* Add syntax highlighting for WebGL shaders in <script> tagsSergey Tikhomirov2014-02-091-0/+9