{"id":17079090,"url":"https://github.com/curlpipe/vim-sahl","last_synced_at":"2025-03-23T12:20:42.522Z","repository":{"id":105851778,"uuid":"258269962","full_name":"curlpipe/vim-sahl","owner":"curlpipe","description":"Vim plugin to add syntax highlighting and automatic compilation for the SAHL language","archived":false,"fork":false,"pushed_at":"2020-04-25T20:20:38.000Z","size":2,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T18:36:11.998Z","etag":null,"topics":[],"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/curlpipe.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-23T16:48:22.000Z","updated_at":"2020-05-01T00:11:47.000Z","dependencies_parsed_at":"2023-06-14T12:30:33.602Z","dependency_job_id":null,"html_url":"https://github.com/curlpipe/vim-sahl","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/curlpipe%2Fvim-sahl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curlpipe%2Fvim-sahl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curlpipe%2Fvim-sahl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curlpipe%2Fvim-sahl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/curlpipe","download_url":"https://codeload.github.com/curlpipe/vim-sahl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245099068,"owners_count":20560526,"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":[],"created_at":"2024-10-14T12:24:34.395Z","updated_at":"2025-03-23T12:20:42.500Z","avatar_url":"https://github.com/curlpipe.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vim-sahl\n\u003e A simple vim plugin that adds highlighting and indentation as well as automatic compilation on save\n\n### Installation\nIn this repository, you will find two files, one in the syntax folder which can be put into `~/.vim/syntax/sahl.vim` and another file in the sahl folder which can be placed in `~/.vim/sahl/sahl.vim`\n\nYou can add this plugin to your readme by simply adding `source ~/.vim/sahl/sahl.vim` and if you placed the syntax file in the correct place, that will automatically be applied to every sahl file you edit.\n\nYou can clone the repository directly into your vim folder by simply running the command `git clone https://github.com/curlpipe/vim-sahl ~/.vim/` and the plugin will be ready to be added to your .vimrc file\n\n### Disabling automatic compilation\nIn the `sahl.vim` file that is located in `~/.vim/sahl/sahl.vim` you can disable the automatic compilation that occurs in the background by simply commenting out the line `au BufWritePost *.sahl silent exec \"!sahl -s \u003cafile\u003e\"` and when you save your sahl files they will no longer be converted to html automatically.\n\n### Changing the command to compile\nTo change the command to compile with sahl, e.g. you don't have the binary or have a specific path where the binary is located, you can edit the line `au BufWritePost *.sahl silent exec \"!sahl -s \u003cafile\u003e\"` and change the command after the `!` symbol. If you don't have the binary you can simply change the line to `au BufWritePost *.sahl silent exec \"!ruby /path/to/sahl.rb -s \u003cafile\u003e\"` and when you reload your vim the changes will be applied.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurlpipe%2Fvim-sahl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcurlpipe%2Fvim-sahl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurlpipe%2Fvim-sahl/lists"}