{"id":13896153,"url":"https://github.com/e-zk/vis-shebang","last_synced_at":"2026-01-25T11:35:19.895Z","repository":{"id":107932955,"uuid":"248212044","full_name":"e-zk/vis-shebang","owner":"e-zk","description":"vis plugin to set syntax highlighting based on file shebangs","archived":false,"fork":false,"pushed_at":"2022-08-27T05:11:12.000Z","size":7,"stargazers_count":8,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"trunk","last_synced_at":"2025-07-14T00:08:29.567Z","etag":null,"topics":["editor","plugin","vis"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/e-zk.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":null,"dei":null}},"created_at":"2020-03-18T11:23:05.000Z","updated_at":"2024-10-19T18:24:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"63fd5421-9946-42aa-af06-8f0df1e50a8e","html_url":"https://github.com/e-zk/vis-shebang","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/e-zk/vis-shebang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-zk%2Fvis-shebang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-zk%2Fvis-shebang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-zk%2Fvis-shebang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-zk%2Fvis-shebang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/e-zk","download_url":"https://codeload.github.com/e-zk/vis-shebang/tar.gz/refs/heads/trunk","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-zk%2Fvis-shebang/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265606598,"owners_count":23796969,"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":["editor","plugin","vis"],"created_at":"2024-08-06T18:02:41.815Z","updated_at":"2026-01-25T11:35:19.859Z","avatar_url":"https://github.com/e-zk.png","language":"Lua","funding_links":[],"categories":["Lua"],"sub_categories":[],"readme":"vis-shebang\n============\n\n[vis](https://github.com/martanne/vis) plugin to set syntax based on [shebang](https://en.wikipedia.org/wiki/Shebang_(Unix)).\n\nPlease open an issue if you encounter any bugs.\n\nexample configuration\n----------------------\n\nvis-shebang uses a global variable that maps shebangs to syntaxes, in the following format.\n\n    shebangs = {\n        [\u003cshebang\u003e] = \u003csyntax\u003e\n    }\n\nWhere `\u003csyntax\u003e` is the syntax you wish to set vis to, given your file starts with `\u003cshebang\u003e`.  \nFor example, this configuration sets files with the shebang `#!/bin/sh` to `bash` syntax:\n\n    shebangs = {\n        [\"#!/bin/sh\"] = \"bash\"\n    }\n\nMultiple shebangs can be defined at a time:\n\n    shebangs = {\n        [\"#!/bin/sh\"] = \"bash\",\n        [\"#!/usr/bin/env python3\"] = \"python\"\n    }\n\ninstallation\n-------------\n\nClone this repo to `$VIS_PATH/plugins/vis-shebang` and a require line to `visrc.lua`:\n\n    require('plugins/vis-shebang')\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe-zk%2Fvis-shebang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fe-zk%2Fvis-shebang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe-zk%2Fvis-shebang/lists"}