{"id":17300133,"url":"https://github.com/joseluis/wordpress.vim-generator","last_synced_at":"2026-04-29T21:02:37.900Z","repository":{"id":85249784,"uuid":"79433548","full_name":"joseluis/wordpress.vim-generator","owner":"joseluis","description":"a syntax file generator for wordpress.vim","archived":false,"fork":false,"pushed_at":"2017-01-19T09:44:38.000Z","size":4,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-09T06:39:18.833Z","etag":null,"topics":["bash","generator","shell-script","vim","vim-syntax","wordpress"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/joseluis.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-01-19T08:44:16.000Z","updated_at":"2017-06-11T01:23:13.000Z","dependencies_parsed_at":"2023-06-02T23:47:36.110Z","dependency_job_id":null,"html_url":"https://github.com/joseluis/wordpress.vim-generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/joseluis/wordpress.vim-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joseluis%2Fwordpress.vim-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joseluis%2Fwordpress.vim-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joseluis%2Fwordpress.vim-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joseluis%2Fwordpress.vim-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joseluis","download_url":"https://codeload.github.com/joseluis/wordpress.vim-generator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joseluis%2Fwordpress.vim-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32443576,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T20:22:27.477Z","status":"ssl_error","status_checked_at":"2026-04-29T20:22:26.507Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["bash","generator","shell-script","vim","vim-syntax","wordpress"],"created_at":"2024-10-15T11:26:14.516Z","updated_at":"2026-04-29T21:02:37.886Z","avatar_url":"https://github.com/joseluis.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wordpress.vim generator\n\na syntax file generator for [wordpress.vim](https://github.com/dsawardekar/wordpress.vim/)\n\n\n## About\n\nThis script generates a new wordpress.vim syntax file for the\n[Vim Plugin for WordPress Development](https://github.com/dsawardekar/wordpress.vim)\nproject, according to the format of the original file.\n\nThis script discards the private and protected tagged functions,\nand the ones starting with an underscore.\n\n\n## Instructions\n\n1. Prepare a working directory. For example:\n\n  ```sh\n  $ mkdir workdir; cd workdir\n  ```\n\n2. Download this script, and make it executable:\n\n  ```sh\n  $ curl -OL git.io/wordpress.vim-generator \u0026\u0026 chmod +x wordpress.vim-generator\n  ```\n\n3. Download the version of WordPress you want to create the syntax\n   file for, and uncompress it. For the latest version:\n\n  ```sh\n  $ curl -OL wordpress.org/latest.zip \u0026\u0026 unzip latest.zip\n  ```\n\n4. (Optionally) download the original wordpress.vim syntax file,\n   to see the statistics report of the differences.\n\n  ```sh\n  $ curl -OL https://raw.githubusercontent.com/dsawardekar/wordpress.vim/develop/syntax/wordpress.vim\n  ```\n\n5. (Optionally) open the script with an editor to modify the options to your\n   special circumstances, specially paths to files and directories.\n\n\n6. Run the script to generate a new syntax file.\n\n  ```\n  $ ./wordpress.vim-generator\n  ```\n\n  A new file `wordpress-$VERSION.vim` will be generated. Where `$VERSION` will\n  be the WordPress version you are using to generate the syntax file.\n\n  At the same time, output will be echoed to the terminal, similar to the\n  following excerpt:\n\n  ```\n  39 functions in l10n.php\n  31 functions in ms-blogs.php\n    + 8 deprecated\n  94 functions in formatting.php\n  (...)\n\n  1 classes in class-wp-http-ixr-client.php\n  3 classes in atomlib.php\n  1 classes in class-http.php\n  (...)\n\n  # List of removals/additions\n  # ==========================\n\n  # -------------------------------------------------------------------\n  # Removed functions:\n  # -------------------------------------------------------------------\n  comments_popup_script create_empty_blog do_shortcode_tag fetch_rss (...)\n  (...)\n\n  # ==================\n  # Summary statistics\n  # ==================\n\n  In the original file 'wordpress.vim':\n          Functions: 1447 Deprecated: 171 Classes: 186\n\n  In the new file 'wordpress-4.7.1.vim':\n          Functions: 1711 Deprecated: 193 Classes: 290\n\n  ADDED:      Functions: 321  Deprecated: 26  Classes: 110\n  REMOVED:    Functions: 57   Deprecated: 4   Classes: 6\n\n  DIFFERENCE: Functions: 264  Deprecated: 22  Classes: 104\n  ```\n\n7. You can now use the new syntax file generated to subsititute the old one\n  in your WordPress.vim installation. Normally that file will be located in\n  `~/.vim/bundle/wordpress.vim/syntax/wordpress.vim`. For example:\n\n  ```sh\n  $ cp ./wordpress-4.7.1.vim ~/.vim/bundle/wordpress.vim/syntax/wordpress.vim\n  ```\n\n\n## Links\n\n- [wordpress.vim](https://github.com/dsawardekar/wordpress.vim/)\n- [wordpress.org/download/release-archive](https://wordpress.org/download/release-archive/)\n- [codex.wordpress.org/WordPress_Versions](https://codex.wordpress.org/WordPress_Versions)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoseluis%2Fwordpress.vim-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoseluis%2Fwordpress.vim-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoseluis%2Fwordpress.vim-generator/lists"}