| 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; } ``` | ||||
| * | Update my name and email | Sergii Tykhomyrov | 2022-02-06 | 1 | -1/+1 |
| | | |||||
| * | 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). | ||||
| * | Add syntax highlighting for WebGL shaders in <script> tags | Sergey Tikhomirov | 2014-02-09 | 1 | -1/+0 |
| | | |||||
| * | Update maintainer's email | Sergey Tikhomirov | 2014-02-08 | 1 | -4/+3 |
| | | |||||
| * | Added indentation settings for GLSL | Sergey Tikhomirov | 2012-07-10 | 1 | -0/+12 |
