{"id":13898300,"url":"https://github.com/LucHermitte/vim-clang","last_synced_at":"2025-07-17T15:32:59.721Z","repository":{"id":6325013,"uuid":"7560189","full_name":"LucHermitte/vim-clang","owner":"LucHermitte","description":"Module to Interact with libclang (and clang_indexer DB) from Vim.","archived":false,"fork":false,"pushed_at":"2021-04-09T14:47:19.000Z","size":123,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-07T18:45:56.595Z","etag":null,"topics":["clang-indexer","libclang","vim"],"latest_commit_sha":null,"homepage":"","language":"Vim script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"libgit2/node-gitteh","license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LucHermitte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-01-11T13:24:22.000Z","updated_at":"2021-12-01T10:38:04.000Z","dependencies_parsed_at":"2022-09-13T21:21:17.863Z","dependency_job_id":null,"html_url":"https://github.com/LucHermitte/vim-clang","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucHermitte%2Fvim-clang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucHermitte%2Fvim-clang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucHermitte%2Fvim-clang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucHermitte%2Fvim-clang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LucHermitte","download_url":"https://codeload.github.com/LucHermitte/vim-clang/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226274771,"owners_count":17598860,"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":["clang-indexer","libclang","vim"],"created_at":"2024-08-06T18:04:13.174Z","updated_at":"2024-11-25T04:31:11.175Z","avatar_url":"https://github.com/LucHermitte.png","language":"Vim script","funding_links":[],"categories":["Vim Script"],"sub_categories":[],"readme":"vim-clang\n=========\n\nModule to Interact with libclang (and clang\\_indexer DB) from Vim.\n\n[![Project Stats](https://www.openhub.net/p/21020/widgets/project_thin_badge.gif)](https://www.openhub.net/p/21020)\n\nFeatures:\n---------\n* Inter-operates with clang\\_indexer DB\n* Displays the references of the C++ symbol under the cursor with \\\u003cleader\\\u003er\n* Displays the declaration(s) of the C++ symbol under the cursor with \\\u003cleader\\\u003ed\n* Displays the Subclasses of the C++ symbol under the cursor with \\\u003cleader\\\u003es\n* Encapsulates the updating of clang\\_indexer DB (which requires a project\n  configuration compatible with BuildToolsWrappers format)\n\nInstallation Requirements:\n-------------------------\n* [Vim 7.3+](http://www.vim.org), compiled with python support\n* Python 2.x\n* [clang\\_complete](https://github.com/Rip-Rip/clang_complete)\n* [clang\\_indexer](https://github.com/LucHermitte/clang_indexer)\n* [lh-vim-lib](http://github.com/LucHermitte/lh-vim),\n  [lh-dev](http://github.com/LucHermitte/lh-dev)\n\nNote: this module takes advantage of the following modules when they are\ninstalled:\n* [BuildToolsWrappers](http://github.com/LucHermitte/vim-build-tools-wrapper)\n* my fork of Michael Geddes' [buffer-menu](http://github.com/LucHermitte/lh-misc/blob/master/plugin/buffermenu.vim)\n\nWith vim-addon-manager, just install `vim-clang`, and let VAM take care of\ninstalling all the vim dependencies. You'll still have to install Vim, Python,\n**and** clang\\_indexer by yourself.\n\nNote: this script hasn't been registered yet to VAM addons list.\n\nOptions:\n--------\n* The options from clang\\_complete apply regarding libclang configuration\n  ([bg]:clang\\_user\\_options that defines how to use libclang)\n* [bg]:_[{ft}\\_]_clic\\_filename that tells where clang\\_indexer database is\n  located\n\n* g:clang\\_key\\_usr, g:clang\\_key\\_declarations, g:clang\\_key\\_references, and\n  g:clang\\_key\\_subclasses, to override default choices to trigger vim-clang\n  features.\n\nTo do list:\n-----------\n* Interface _à la_ taglist()\n* Reimplements features from lh-dev and lh-cpp#analysisLib\\*.\n\n\nDisclaimer:\n-----------\nThis module is a fork of @exclipy's fork of\n[clang\\_complete](\u003chttps://github.com/exclipy/clang_complete\u003e).\nThe functions dedicated to the interaction with clang\\_indexer have been extracted,\nand a few more will be added.\n\n\nLicence:\n--------\ngetReferences() and getCurrentUser() functions are courtesy of exclipy.\n\nCopyright 2013 Luc Hermitte\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLucHermitte%2Fvim-clang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLucHermitte%2Fvim-clang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLucHermitte%2Fvim-clang/lists"}