{"id":13635129,"url":"https://github.com/rjohnsondev/vim-compiler-go","last_synced_at":"2025-12-17T13:18:55.248Z","repository":{"id":5645322,"uuid":"6854010","full_name":"rjohnsondev/vim-compiler-go","owner":"rjohnsondev","description":"Vim compiler plugin for Go (golang)","archived":false,"fork":false,"pushed_at":"2016-06-28T22:00:12.000Z","size":21,"stargazers_count":90,"open_issues_count":0,"forks_count":16,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-12T18:42:11.904Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/rjohnsondev.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":"2012-11-25T18:15:52.000Z","updated_at":"2025-01-30T10:38:36.000Z","dependencies_parsed_at":"2022-09-22T04:20:28.300Z","dependency_job_id":null,"html_url":"https://github.com/rjohnsondev/vim-compiler-go","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/rjohnsondev%2Fvim-compiler-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjohnsondev%2Fvim-compiler-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjohnsondev%2Fvim-compiler-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjohnsondev%2Fvim-compiler-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rjohnsondev","download_url":"https://codeload.github.com/rjohnsondev/vim-compiler-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249600511,"owners_count":21297709,"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":[],"created_at":"2024-08-02T00:00:41.111Z","updated_at":"2025-12-17T13:18:50.200Z","avatar_url":"https://github.com/rjohnsondev.png","language":"VimL","funding_links":[],"categories":["Editor Plugins","IDE Extensions","Vim Script","编辑器插件","Libraries for creating HTTP middlewares"],"sub_categories":["Routers","Vim","Middlewares","路由器","代码分析"],"readme":"Vim compiler file for Go (golang)\n=================================\n\nCompiles Go files in the background and usefully underlines and reports\nerrors to the QuickFix window:\n\n![](demo.png?raw=true)\n\nInstallation:\n-------------\n\n### Pathogen\n\nJust clone this repo into your bundles directory:\n\n    git clone https://github.com/rjohnsondev/vim-compiler-go.git ~/.vim/bundle/vim-compiler-go\n\nEither ensure the $GOROOT environment variable is set, or otherwise set the\ng:golang_goroot variable in .vimrc to where your go installation can be found.\nThis must be an absolute path:\n\n    let g:golang_goroot = \"/home/richard/go\"\n\n### Manual installation\n\nDrop golang.vim in ~/.vim/compiler directory.\n\nAdd the following line to the autocmd section of .vimrc\n\n    autocmd FileType go compiler golang\n\nSet the g:golang_goroot variable to where your go installation can be\nfound.  This must be an absolute path\n\n    let g:golang_goroot = \"/home/richard/go\"\n\nThe plugin assumes a standard project layout with the files stored in a\nsrc directory.  The GOPATH is set to one directory below the src folder.\n\nUsage:\n------\n\nGolang is called after a buffer with Go code is saved. The QuickFix\nwindow is opened to show errors, warnings and hints provided by Golang.\n\nTo disable calling Golang every time a buffer is saved, put into .vimrc file:\n\n    let g:golang_onwrite = 0\n\nThe QuickFix window can be disabled with:\n\n    let g:golang_cwindow = 0\n\nSetting highlights for the lines can be disabled with:\n\n    let g:golang_inline_highlight = 0\n\nOf course, standard :make command can be used as is the case with every\nother compiler.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjohnsondev%2Fvim-compiler-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frjohnsondev%2Fvim-compiler-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjohnsondev%2Fvim-compiler-go/lists"}