| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Ensure cinoptions is set to a known value (#24) | David Briscoe | 2022-05-10 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix `set cinoptions=#1` causes incorrect define indenting. To get correct glsl indentation, we want default 'cinoptions'. It's useful to `set cinoptions=#1` (to allow most filetypes to use # comments), so we should ensure we're using a known set of indent options and revert to the default. The user can still customize cinoptions in ~/.vim/after/indent/glsl.vim. ## Test ```vim :set cinoptions=#1 :edit test.glsl gg=G ``` ```glsl // test.glsl #define PI 4 #define TAU 8 // line gets 1 space indent float f(float x) { return x * 2; } ``` | ||||
| * | Add ray tracing related keywords and file types (#22) | Ivan Avdeev | 2022-02-06 | 2 | -2/+74 |
| | | | | | | | | | | | | | | | | Add highlights for keywords, functions, variables and constants introduced by extensions: - GLSL_EXT_ray_tracing - GLSL_EXT_ray_query - GL_EXT_nonuniform_qualifier Also add filetypes for ray tracing stages: - *.rgen for ray generation shader - *.rmiss for ray miss shader - *.rint for intersection shader - *.rahit for any hit shader - *.rchit for closest hit shader - *.rcall for callable shader | ||||
| * | Update my name and email | Sergii Tykhomyrov | 2022-02-06 | 6 | -6/+6 |
| | | |||||
| * | Highlight builtin gl_VertexIndex (#21) | Aidan | 2021-11-13 | 1 | -0/+1 |
| | | | | gl_VertexIndex is part of the Vulkan only GL_KHR_vulkan_glsl extension. | ||||
| * | Add VimPlug (#20) | Ikroop Singh Kalsi | 2021-09-05 | 1 | -0/+10 |
| | | | | add the VimPlug package manager in the installation section of README.md | ||||
| * | Add shader source syntax highlighting in Elm | Sergey Tikhomirov | 2020-04-21 | 1 | -0/+11 |
| | | |||||
| * | Added containedin=javaScript to html syntax region (#17) | Auxiliary-Character | 2019-11-01 | 1 | -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. | ||||
| * | Enable auto-format of multiline comments (#15) | Zaven Muradyan | 2017-10-15 | 1 | -0/+1 |
| | | | | This adds the `r`, `o`, and `q` format options which allow automatic insertion of the comment leader character in multiline comments. See `:help fo-table` for details on these options (they're all related to wrapping/leader-insertion for multiline comments). | ||||
| * | Highlight NOTEs in comments | Sergey Tikhomirov | 2017-07-06 | 1 | -1/+1 |
| | | |||||
| * | Add information about supported file extensions | Sergey Tikhomirov | 2017-07-03 | 1 | -2/+21 |
| | | |||||
| * | Highlight files with .glsl extension (#14) | Noah Chase | 2017-07-03 | 1 | -2/+2 |
| | | |||||
| * | Highlight struct name | Sergey Tikhomirov | 2017-06-20 | 1 | -11/+12 |
| | | |||||
| * | Add support of GLSL versions 4.40 and 4.50 | Sergey Tikhomirov | 2017-06-19 | 2 | -12/+20 |
| | | | | | Closes #11 | ||||
| * | Suffixes for integer and float literals (#12) | Martino Pilia | 2017-04-12 | 1 | -7/+7 |
| | | |||||
| * | Update list of file extensions | Sergey Tikhomirov | 2017-04-12 | 1 | -1/+3 |
| | | | | | Keep only extensions supported by Khronos reference compiler. | ||||
| * | Update copyright years | Sergey Tikhomirov | 2017-04-11 | 1 | -1/+1 |
| | | |||||
| * | Update installation instructions | Sergey Tikhomirov | 2017-04-11 | 1 | -5/+25 |
| | | |||||
| * | Update copyright years | Sergey Tikhomirov | 2016-10-14 | 1 | -1/+1 |
| | | |||||
| * | Add types defined in the official Khronos GLSL compiler | Sven-Hendrik Haase | 2016-10-04 | 1 | -1/+1 |
| | | | | I added the rest of the types defined here: https://github.com/KhronosGroup/glslang | ||||
| * | Add keywords for switch statement (#9) | Alex Shen | 2016-09-17 | 1 | -1/+1 |
| | | |||||
| * | Merge pull request #8 from sheerun/patch-1 | Sergey Tikhomirov | 2015-12-18 | 1 | -0/+2 |
| |\ | | | | | Add mention of vim-polyglot to the README | ||||
| | * | Reference vim-polyglot language pack | Adam Stankiewicz | 2015-10-24 | 1 | -0/+2 |
| |/ | |||||
| * | Add support .gs, .tcs, .tes extensions. Closes #7 | Sergey Tikhomirov | 2015-09-01 | 1 | -1/+1 |
| | | |||||
| * | use autocmd! so that *.fs is not forth AND glsl | Dusty Leary | 2014-11-04 | 1 | -1/+1 |
| | | |||||
| * | Merge pull request #4 from florian-kriener/master | Sergey Tikhomirov | 2014-05-14 | 1 | -2/+2 |
| |\ | | | | | Only spell check comments | ||||
| | * | Only spell check comments | Florian Kriener | 2014-05-13 | 1 | -2/+2 |
| |/ | |||||
| * | Merge pull request #3 from voidus/master | Sergey Tikhomirov | 2014-03-03 | 1 | -1/+1 |
| |\ | | | | | Add .vs and .fs extensions to the detection list | ||||
| | * | Add .vs and .fs extensions to the detection list | Simon Kohlmeyer | 2014-03-03 | 1 | -1/+1 |
| |/ | |||||
| * | Update syntax highlighting | Sergey Tikhomirov | 2014-03-02 | 2 | -211/+618 |
| | | |||||
| * | Add syntax highlighting for WebGL shaders in <script> tags | Sergey Tikhomirov | 2014-02-09 | 4 | -5/+13 |
| | | |||||
| * | Update maintainer's email | Sergey Tikhomirov | 2014-02-08 | 3 | -12/+9 |
| | | |||||
| * | Fix syntax highlighting for numbers. Closes #2 | Sergey Tikhomirov | 2013-09-02 | 1 | -1/+4 |
| | | |||||
| * | Merge github.com:rkaup/vim-glsl | Sergey Tikhomirov | 2013-06-29 | 2 | -16/+169 |
| |\ | | | | | | | | | | | Conflicts: ftdetect/glsl.vim syntax/glsl.vim | ||||
| | * | Highlight built-in constants. | Robin Kaup | 2012-11-21 | 1 | -0/+56 |
| | | | |||||
| | * | Highlight built-in variables. | Robin Kaup | 2012-11-21 | 1 | -0/+16 |
| | | | |||||
| | * | Add 'display' to syntax matches where appropriate. | Robin Kaup | 2012-11-21 | 1 | -7/+7 |
| | | | |||||
| | * | Highlight built-in functions. | Robin Kaup | 2012-11-21 | 1 | -0/+70 |
| | | | |||||
| | * | Highlight vector swizzles. | Robin Kaup | 2012-11-21 | 1 | -0/+6 |
| | | | |||||
| | * | Don't highlight numbers at the end of identifiers. | Robin Kaup | 2012-11-21 | 1 | -0/+4 |
| | | | |||||
| | * | Replace tabs with spaces. | Robin Kaup | 2012-11-21 | 1 | -6/+6 |
| | | | | | | | | | Make formatting consistent. | ||||
| | * | Recognise .glsl files as GLSL. | Robin Kaup | 2012-10-23 | 1 | -1/+1 |
| | | | |||||
| * | | Add license and readme files | Sergey Tikhomirov | 2013-06-29 | 2 | -0/+31 |
| | | | |||||
| * | | Merge pull request #1 from SeySayux/master | Sergey Tikhomirov | 2013-06-07 | 1 | -1/+1 |
| |\ \ | | | | | | | Add detection for *.gsh, *.fsh, and *.vsh file name extensions | ||||
| | * | | Detection for gsh, fsh, and vsh extensions. | Frank Erens | 2013-06-07 | 1 | -1/+1 |
| |/ / | |||||
| * / | Resolved issue with highlightintg numbers in variable name. | Sergey Tikhomirov | 2013-01-23 | 1 | -14/+10 |
| |/ | |||||
| * | Updated file header | Sergey Tikhomirov | 2012-07-10 | 2 | -2/+8 |
| | | |||||
| * | Added indentation settings for GLSL | Sergey Tikhomirov | 2012-07-10 | 1 | -0/+12 |
| | | |||||
| * | Added file type detection for GLSL | Sergey Tikhomirov | 2012-07-10 | 1 | -0/+1 |
| | | |||||
| * | Added qualifiers | Sergey Tikhomirov | 2012-07-08 | 1 | -0/+21 |
| | | |||||
| * | Added types | Sergey Tikhomirov | 2012-07-08 | 1 | -19/+48 |
| | | |||||
