{"id":23320119,"url":"https://github.com/kg8m/vim-parallel-auto-ctags","last_synced_at":"2025-04-07T05:28:20.547Z","repository":{"id":140739927,"uuid":"257590449","full_name":"kg8m/vim-parallel-auto-ctags","owner":"kg8m","description":"A Vim plugin to execute `ctags` command on any events for any directories","archived":false,"fork":false,"pushed_at":"2022-07-04T09:13:53.000Z","size":29,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-13T09:47:27.082Z","etag":null,"topics":["ctags","vim","vim-plugin"],"latest_commit_sha":null,"homepage":"","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/kg8m.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},"funding":{"github":"kg8m"}},"created_at":"2020-04-21T12:35:45.000Z","updated_at":"2021-12-26T01:28:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"1a669c3c-db71-44ad-94b3-1e04d541b9c0","html_url":"https://github.com/kg8m/vim-parallel-auto-ctags","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/kg8m%2Fvim-parallel-auto-ctags","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kg8m%2Fvim-parallel-auto-ctags/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kg8m%2Fvim-parallel-auto-ctags/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kg8m%2Fvim-parallel-auto-ctags/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kg8m","download_url":"https://codeload.github.com/kg8m/vim-parallel-auto-ctags/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247599030,"owners_count":20964566,"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":["ctags","vim","vim-plugin"],"created_at":"2024-12-20T17:29:59.215Z","updated_at":"2025-04-07T05:28:20.532Z","avatar_url":"https://github.com/kg8m.png","language":"Vim script","funding_links":["https://github.com/sponsors/kg8m"],"categories":[],"sub_categories":[],"readme":"vim-parallel-auto-ctags\n==================================================\n\nA Vim plugin to execute `ctags` command on any events for any directories.\n\n  * Support multiple entry points, e.g., current directory and directory for libraries\n  * Execute `ctags` command on `autocmd` events you specify\n  * Execute `ctags` command asynchronously\n  * Wait to execute `ctags` command if the entry point's command is running\n\n\nFunctions\n--------------------------------------------------\n\n### `parallel_auto_ctags#create_all()`\n\nExecute `ctags` command for all entry points.\n\n\n### `parallel_auto_ctags#create(entry-point[, delay])`\n\nExecute `ctags` command for specified entry point.\n\n`entry-point` is a string which you want to execute `ctags` for.\n\n`delay` is milliseconds for waiting to execute `ctags` for the `entry-point`. Default: `300`\n\n\n#### Example\n\n```vim\ncall parallel_auto_ctags#create(\"pwd\")\ncall parallel_auto_ctags#create(\"libs\", 1000)\n```\n\n\n### `parallel_auto_ctags#clean_up()`\n\nRemove lock files and temp files, which are created to avoid duplicated executing `ctags` command.\n\nNote: This function is called on `VimLeavePre`.\n\n\nVariables\n--------------------------------------------------\n\n### `g:parallel_auto_ctags#executable`\n\nCommand name or executable filepath to execute `ctags`.\n\nDefault: `\"ctags\"`\n\n\n### `g:parallel_auto_ctags#tag_filename`\n\nFilename of tagfile.\n\nDefault: `\"tags\"`\n\n\n### `g:parallel_auto_ctags#options`\n\nOptions of `ctags` command.\n\nSpecify this by `List`.\n\nDefault: `[]`\n\n\n#### Example:\n\n```vim\nlet g:parallel_auto_ctags#options = [\n\\   \"--fields=n\",\n\\   \"--tag-relative=yes\",\n\\   \"--recurse=yes\",\n\\   \"--sort=yes\",\n\\ ]\n```\n\n\n### `g:parallel_auto_ctags#entry_points`\n\nEntry point names and each entry point's configurations.\n\nSpecify this by `Dictionary`.\n\nDefault: `{}`\n\nIts keys are entry point names. Its values are their configurations. Each value should be a `Dictionary` which can have `path`, `options`, `events`, and `silent` keys.\n\n  * `path` (`String`/required)\n    * Path to target directory of the entry point. A tag file will be created in this directory.\n  * `options` (`List`/optional)\n    * Entry point specific options of `ctags` command. Unless defined, `g:parallel_auto_ctags#options` is used instead.\n  * `events` (`List`/optional)\n    * A list of `autocmd-events` to execute `ctags` automatically.\n    * Default: `[]`\n  * `silent` (`Boolean`/optional)\n    * Whether executing `ctags` silently or not.\n    * Default: `v:false`\n\n\n#### Example\n\n```vim\nlet g:parallel_auto_ctags#entry_points = {\n\\   \"pwd\": {\n\\     \"path\":    \".\",\n\\     \"options\": [\"--exclude=node_modules\"],\n\\     \"events\":  [\"VimEnter\", \"BufWritePost\"],\n\\     \"silent\":  v:true,\n\\   },\n\\   \"libs\": {\n\\     \"path\":    \"/path/to/libraries\",\n\\     \"options\": [\"--exclude=test\", \"--languages=something\"],\n\\     \"events\":  [\"VimEnter\"],\n\\     \"silent\":  v:false,\n\\   },\n\\ }\n```\n\n\nInstallation\n--------------------------------------------------\n\nIf you use [dein.vim](https://github.com/Shougo/dein.vim):\n\n```vim\ncall dein#add(\"kg8m/vim-parallel-auto-ctags\")\n```\n\n\nRequirements\n--------------------------------------------------\n\n  * [Universal Ctags](https://github.com/universal-ctags/ctags) (recommended) or other ctags\n  * Newer Vim\n  * Linux or Mac\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkg8m%2Fvim-parallel-auto-ctags","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkg8m%2Fvim-parallel-auto-ctags","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkg8m%2Fvim-parallel-auto-ctags/lists"}