{"id":27953355,"url":"https://github.com/johnelse/ocamlspot-helpers","last_synced_at":"2026-01-23T20:06:33.534Z","repository":{"id":66952557,"uuid":"1563369","full_name":"johnelse/ocamlspot-helpers","owner":"johnelse","description":"A vim plugin and python helper library for ocamlspotter","archived":false,"fork":false,"pushed_at":"2013-09-14T00:07:11.000Z","size":119,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T17:05:34.374Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"VimL","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/johnelse.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}},"created_at":"2011-04-03T16:07:44.000Z","updated_at":"2014-02-01T19:25:58.000Z","dependencies_parsed_at":"2023-02-20T15:13:44.759Z","dependency_job_id":null,"html_url":"https://github.com/johnelse/ocamlspot-helpers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/johnelse/ocamlspot-helpers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnelse%2Focamlspot-helpers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnelse%2Focamlspot-helpers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnelse%2Focamlspot-helpers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnelse%2Focamlspot-helpers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnelse","download_url":"https://codeload.github.com/johnelse/ocamlspot-helpers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnelse%2Focamlspot-helpers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28699372,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T17:25:48.045Z","status":"ssl_error","status_checked_at":"2026-01-23T17:25:47.153Z","response_time":59,"last_error":"SSL_read: 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":[],"created_at":"2025-05-07T17:03:34.236Z","updated_at":"2026-01-23T20:06:33.529Z","avatar_url":"https://github.com/johnelse.png","language":"VimL","funding_links":[],"categories":[],"sub_categories":[],"readme":"OCamlspot Vim plugin\n====================\n\nOCamlspot for Vim allows Vim to get type information from the output of\n`ocamlspot`. When installed, Vim can show the type of the OCaml symbol under\nthe cursor with a keypress.\n\nScreenshot\n==========\n\n![Screenshot](img/screenshot.png)\n\nRequirements\n============\nThe OCamlspot plugin uses the `.cmt` or `.spot` files generated by `ocamlspot`\nduring compilation. To compile with binary annotation output use the following\nflag:\n\n    OCAMLFLAGS+=-bin-annot\n\nAlternatively, you can use a patched OCaml compiler that adds this flag by\ndefault based on an environemnt variable. This compiler can be obtained from\n[OPAM](http://opam.ocamlpro.com/).\n\n    opam switch 4.00.1+annot\n\nFor more information on which compilers can be used and how to use them, see\nthe docs for [OCamlSpotter](https://bitbucket.org/camlspotter/ocamlspot).\n\nInstallation\n============\nThis plugin is written to be easily installable using [Pathogen](https://github.com/tpope/vim-pathogen):\n\n    cd ~\n    git clone http://github.com/simonjbeaumont/vim-ocamlspot.git .vim/bundle/vim-ocamlspot\n\nPro-tip: if you're keeping your Vim config under Git, consider using Git\nsubmodules for your plugins (works very nicely with Pathogen):\n\n    cd ~/.vim\n    git submodule add http://github.com/simonjbeaumont/vim-ocamlspot.git bundle/vim-ocamlspot\n    git submodule init\n    git submodule update\n\nUsage\n=====\nThe plugin exports a function `OCamlType()` which can be called in Vim to show\nthe type of the symbol under the cursor.\n\nThe functions `OCamlSpot()` and `OCamlSpotSplit()` can be used to jump to the\ndefinition of the symbol under the cursor. `OCamlSpotSplit()` opens the definition\nin a new split.\n\nThese can be mapped in your `.vimrc`, e.g.:\n\n    map \u003cC-k\u003e :call OCamlType()\u003cCR\u003e\n    map \u003cC-]\u003e :call OCamlSpot()\u003cCR\u003e\n\nStill to be done\n================\n* Write a quick Vim help file under `doc/`;\n* Use `ftdetect` to only load this plugin for OCaml files;\n* Add default shortcuts.\n\nContributions are more than welcome for any bugs or improvements, just submit a\npull request.\n\nAcknowledgements\n================\nCredit to [John Else](http://github.com/johnelse), from whom this repo was\nforked and to [Jun Furuse](http://jun.furuse.info/) for the creation of the\nplugin and his work with OCamlspotter.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnelse%2Focamlspot-helpers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnelse%2Focamlspot-helpers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnelse%2Focamlspot-helpers/lists"}