{"id":29242849,"url":"https://github.com/luisbarrancos/osl-syntax","last_synced_at":"2026-02-03T13:03:11.225Z","repository":{"id":70796538,"uuid":"74955131","full_name":"luisbarrancos/osl-syntax","owner":"luisbarrancos","description":"OSL Vim syntax files","archived":false,"fork":false,"pushed_at":"2023-10-27T03:53:17.000Z","size":402,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-03T20:50:21.962Z","etag":null,"topics":["cg","openshadinglanguage","osl","osl-syntax","shaders","syntax-highlighting","vim-syntax"],"latest_commit_sha":null,"homepage":"","language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luisbarrancos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-11-28T09:03:39.000Z","updated_at":"2023-10-28T11:00:00.000Z","dependencies_parsed_at":"2025-07-03T20:48:15.938Z","dependency_job_id":null,"html_url":"https://github.com/luisbarrancos/osl-syntax","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/luisbarrancos/osl-syntax","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luisbarrancos%2Fosl-syntax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luisbarrancos%2Fosl-syntax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luisbarrancos%2Fosl-syntax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luisbarrancos%2Fosl-syntax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luisbarrancos","download_url":"https://codeload.github.com/luisbarrancos/osl-syntax/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luisbarrancos%2Fosl-syntax/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29046503,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T10:09:22.136Z","status":"ssl_error","status_checked_at":"2026-02-03T10:09:16.814Z","response_time":96,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cg","openshadinglanguage","osl","osl-syntax","shaders","syntax-highlighting","vim-syntax"],"created_at":"2025-07-03T20:35:41.407Z","updated_at":"2026-02-03T13:03:08.700Z","avatar_url":"https://github.com/luisbarrancos.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# osl-syntax\n\n### About osl-syntax\n\nA [Vim][1] syntax highlighting file for [OpenShadingLanguage][2] and basic configuration files for a dark grey theme, automagical file detection for OSL.\nWhy all this you may ask? It does provides immediate visual cues, i.e, reserved keywords that will trigger a OSLC compiler fail, and hopefully will reduce eyestrain.\n\n### Installing\n\nCopy the .vim syntax file to your ~/.vim/syntax directory, and the .vimrc to your ~.\nFor more information on creating, modifying and installing [Vim][1] [syntax highlighting][3] files, visit [this link][4]\n\n#### Requirements\n\n[Vim][1] obviously, and the vimrc configuration file is set for [OmniCompletion][5], which requires [Ctags][6]. Depending on how complex your shader library is, it might be worth it. You can create your [ctags][6] file by running it with\n```\nctags –R --c++-kinds=+p --fields=+iaS --extra=+q \u003cpath/to/your/stdosl.h\u003e \u003cpath/to/your/headers \u0026 files\u003e\n```\nThen copy it to your ~/.vim/tags/ directory.\n\nThe vimrc file is using the [Liberation][7] fonts. If you use [Fedora][8], install via\n```\nsudo dnf install liberation-mono-fonts\n```\n\n### Screenshots\n\n![cap1](/img/cap1.png?raw=true)\n\n  [1]: http://www.vim.org/\n  [2]: https://github.com/imageworks/OpenShadingLanguage\n  [3]: http://vimdoc.sourceforge.net/htmldoc/syntax.html\n  [4]: http://vim.wikia.com/wiki/Creating_your_own_syntax_files\n  [5]: http://www.vim.org/scripts/script.php?script_id=1520\n  [6]: http://ctags.sourceforge.net/\n  [7]: https://fedorahosted.org/liberation-fonts/\n  [8]: https://getfedora.org/\n  \n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluisbarrancos%2Fosl-syntax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluisbarrancos%2Fosl-syntax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluisbarrancos%2Fosl-syntax/lists"}