{"id":15387325,"url":"https://github.com/rhysd/vim-llvm","last_synced_at":"2025-08-20T18:32:58.476Z","repository":{"id":66059704,"uuid":"132241150","full_name":"rhysd/vim-llvm","owner":"rhysd","description":"Vim filetype support for LLVM (including official files)","archived":false,"fork":false,"pushed_at":"2024-09-19T13:34:18.000Z","size":63,"stargazers_count":52,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-12-10T03:32:05.577Z","etag":null,"topics":["llvm","plugin","vim"],"latest_commit_sha":null,"homepage":"http://llvm.org/","language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rhysd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.TXT","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":"2018-05-05T11:18:30.000Z","updated_at":"2024-09-19T13:34:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"47172374-4944-41c4-b1bc-3ce4ab79ad85","html_url":"https://github.com/rhysd/vim-llvm","commit_stats":{"total_commits":59,"total_committers":2,"mean_commits":29.5,"dds":"0.016949152542372836","last_synced_commit":"7bb02ef3c6c41aa5510d4aa9817fd40936be8209"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhysd%2Fvim-llvm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhysd%2Fvim-llvm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhysd%2Fvim-llvm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhysd%2Fvim-llvm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhysd","download_url":"https://codeload.github.com/rhysd/vim-llvm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230445926,"owners_count":18227060,"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":["llvm","plugin","vim"],"created_at":"2024-10-01T14:53:38.396Z","updated_at":"2024-12-19T14:07:20.951Z","avatar_url":"https://github.com/rhysd.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"Vim files for Low Level Virtual Machine (LLVM)\n==============================================\n\nThis repository and its subdirectories contain source code for Vim files for the Low Level Virtual\nMachine (LLVM), a toolkit for the construction of highly optimized compilers, optimizers, and runtime\nenvironments. LLVM is open source software. You may freely distribute it under the terms of the license\nagreement found in LICENSE.txt.\n\nThis repository aims to make Vim plugin package managers deal with a Vim plugin bundled in the LLVM\nofficial repository and provides some extended features.\n\nIf no license is specified in the header of a file (it means that it came from\n[LLVM official repository][llvm]), the file is distributed under [LLVM's LICENSE](LICENSE.TXT).\n\n## Imported from upstream ([LLVM official repository][llvm])\n\nFollowing files are imported from `llvm/utils/vim` and `mlir/utils/vim`. They are updated at LLVM\nversion bump.\n\n- `ftdetect/*.vim`\n- `ftplugin/*.vim`\n- `indent/*.vim`\n- `syntax/*.vim`\n\nImported from LLVM 19.1.0 (`a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4`)\n\n## Extended features\n\nThis repository provides some advanced features which are not supported in LLVM official repository.\n\n- `after/**/*.vim`: Extended filetype support\n- `scripts.vim`: Improved `llvm` filetype detection\n\nIf you want to disable these features, write the following config in your `vimrc`:\n\n```vim\nlet g:llvm_extends_official = 0\n```\n\n### Mappings\n\nSome useful mappings to jump a cursor are provided.\n\n- `K`: Jump to the definition of an identifier under the cursor. Or if an instruction (like `getelementptr`)\n  is under the cursor, the explanation of the instruction will be opened in a browser.\n- `]]`, `][`: Move the cursor to the next basic block (Please see `:help ]]` for more details).\n- `b]`: Jump to a basic block which follows the current basic block.\n- `b[`: Jump to a basic block which the current basic block is following.\n\nMore mappings might be supported in the future.\n\nWhen `g:llvm_ext_no_mapping` is set to `1`, these mappings won't be defined. Instead, please map `\u003cPlug\u003e`\nmappings to your favorite key sequences.\n\n```vim\n\" e.g. Map 'go to definition' to gd\nautocmd FileType llvm nmap \u003cbuffer\u003e\u003csilent\u003egd \u003cPlug\u003e(llvm-goto-definition)\n```\n\n### Commands\n\nSome useful commands are defined in `llvm` filetype buffers.\n\n#### `:LLI [file]`\n\nRuns the given `file` using `lli` command. If `file` is omitted, it runs current buffer instead.\nThis command uses Neovim/Vim8 terminal feature. The LLVM IR code is run in job asynchronously and\nthe result is output in a temporary terminal buffer.\n\nThe default command to run is `lli`. You can change it by setting `g:llvm_ext_lli_executable`.\n\n## Installation\n\nThree options. First one or second one are recommended.\n\n- Use your favorite plugin manager such as [vim-plug][], [dein.vim][], [minpac][]\n- Use `:packadd` (Please see `:help packadd` for more details)\n- Manually copy all directories and `scripts.vim` in this repository to your `~/.vim` (or `~/vimfiles` on Windows)\n\n[llvm]: https://github.com/llvm/llvm-project\n[vim-plug]: https://github.com/junegunn/vim-plug\n[dein.vim]: https://github.com/Shougo/dein.vim\n[minpac]: https://github.com/k-takata/minpac\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhysd%2Fvim-llvm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhysd%2Fvim-llvm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhysd%2Fvim-llvm/lists"}