{"id":13419936,"url":"https://github.com/tikhomirov/vim-glsl","last_synced_at":"2025-03-15T06:30:54.659Z","repository":{"id":3851726,"uuid":"4936184","full_name":"tikhomirov/vim-glsl","owner":"tikhomirov","description":"Vim runtime files for OpenGL Shading Language","archived":false,"fork":false,"pushed_at":"2024-06-15T08:14:40.000Z","size":58,"stargazers_count":271,"open_issues_count":3,"forks_count":27,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-07-31T22:52:46.238Z","etag":null,"topics":["glsl","opengl","vim","vim-plugin","viml","webgl"],"latest_commit_sha":null,"homepage":null,"language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tikhomirov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-07-07T09:30:43.000Z","updated_at":"2024-07-25T19:07:03.000Z","dependencies_parsed_at":"2022-08-06T14:15:33.133Z","dependency_job_id":null,"html_url":"https://github.com/tikhomirov/vim-glsl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikhomirov%2Fvim-glsl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikhomirov%2Fvim-glsl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikhomirov%2Fvim-glsl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikhomirov%2Fvim-glsl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tikhomirov","download_url":"https://codeload.github.com/tikhomirov/vim-glsl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221548142,"owners_count":16840980,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["glsl","opengl","vim","vim-plugin","viml","webgl"],"created_at":"2024-07-30T22:01:23.165Z","updated_at":"2024-10-26T15:31:00.947Z","avatar_url":"https://github.com/tikhomirov.png","language":"Vim Script","funding_links":[],"categories":["Vim Script","Vim script"],"sub_categories":[],"readme":"# vim-glsl\n\nVim syntax highlighting for OpenGL Shading Language\n\nGLSL synatx highlighting is supported for:\n\n- files with extensions supported by [Khronos reference compiler](https://github.com/KhronosGroup/glslang): `.vert`, `.tesc`, `.tese`, `.geom`, `.frag`, and `.comp`\n- files with `.glsl` extension\n- HTML `\u003cscript\u003e` tags with `type` set to `x-shader-vertex` or `x-shader-fragment`\n\nIf you need support highlighting in files with other extensions (e.g. `.vs` and `.fs`) you can add it using [autocommand](http://vimdoc.sourceforge.net/htmldoc/autocmd.html#:autocmd):\n\n```viml\n\" in your .vimrc (_vimrc for Windows)\nautocmd! BufNewFile,BufRead *.vs,*.fs set ft=glsl\n```\n\nor using [modeline](http://vimdoc.sourceforge.net/htmldoc/options.html#modeline) in your shader files:\n\n```glsl\n// vim: set ft=glsl:\n```\n\n## Supported GLSL Versions\n\n- OpenGL Shading Language: all versions from 1.10 to 4.50\n- OpenGL ES Shading Language: versions 1.00 and 3.00\n\n## Installation\n\n#### Using [VimPlug](https://https://github.com/junegunn/vim-plug)\n\nAdd to your `vimrc`:\n\n```viml\nPlug 'tikhomirov/vim-glsl'\n```\n\nThen reload your `vimrc` and run `:PlugInstall`.\n\n#### Using [Vundle](https://github.com/gmarik/vundle)\n\nAdd to your `vimrc`:\n\n```viml\nPlugin 'tikhomirov/vim-glsl'\n```\n\nThen reload your `vimrc` and run `:PluginInstall`.\n\n#### Using [Pathogen](https://github.com/tpope/vim-pathogen)\n\n```sh\n$ cd ~/.vim/bundle\n$ git clone https://github.com/tikhomirov/vim-glsl\n```\n\nThen run `:Helptags` to generate help tags.\n\n#### As part of [vim-polyglot](https://github.com/sheerun/vim-polyglot)\n\nThis plugin contributes to [vim-polyglot](https://github.com/sheerun/vim-polyglot) language pack. Please refer to its [installation instructions](https://github.com/sheerun/vim-polyglot#installation) for more details.\n\n#### Manual\n\nCopy all files to your `$HOME/.vim` (`$HOME\\vimfiles\\` on Windows) directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftikhomirov%2Fvim-glsl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftikhomirov%2Fvim-glsl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftikhomirov%2Fvim-glsl/lists"}