{"id":15924110,"url":"https://github.com/ericglau/vim-liberty","last_synced_at":"2026-01-17T18:39:03.891Z","repository":{"id":116635628,"uuid":"343935814","full_name":"ericglau/vim-liberty","owner":"ericglau","description":null,"archived":false,"fork":false,"pushed_at":"2021-03-03T04:22:34.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-03T12:52:53.881Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/ericglau.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}},"created_at":"2021-03-02T22:56:07.000Z","updated_at":"2021-03-03T04:22:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"39acbd2e-0019-4d19-913e-6d508cf6e96e","html_url":"https://github.com/ericglau/vim-liberty","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ericglau/vim-liberty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericglau%2Fvim-liberty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericglau%2Fvim-liberty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericglau%2Fvim-liberty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericglau%2Fvim-liberty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericglau","download_url":"https://codeload.github.com/ericglau/vim-liberty/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericglau%2Fvim-liberty/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28516197,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T18:28:00.501Z","status":"ssl_error","status_checked_at":"2026-01-17T18:28:00.150Z","response_time":85,"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":"2024-10-06T21:20:25.380Z","updated_at":"2026-01-17T18:39:03.864Z","avatar_url":"https://github.com/ericglau.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# vim-liberty\n\nThe following instructions are experimental and not supported.\n\n1. `git clone https://github.com/OpenLiberty/liberty-language-server`\n\n2. `cd liberty-language-server`\n\n3. `./mvnw package`\n\n4. `cd ..`\n\n5. `git clone https://github.com/eclipse/lemminx`\n\n6. `cd lemminx`\n\n7. `.mvnw package -DskipTests`\n\n8. Copy `liberty-language-server/lemminx-liberty/target/lemminx-liberty-1.0-SNAPSHOT-jar-with-dependencies.jar` and `lemminx/org.eclipse.lemminx/target/org.eclipse.lemminx-uber.jar` to a common folder e.g. `~/liberty-ls/jars.\n\n9. Install vim-plug https://github.com/junegunn/vim-plug\n\n```\ncurl -fLo ~/.vim/autoload/plug.vim --create-dirs \\\n    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim\n```\n\n10. Edit ~/.vimrc (edit path in `let g:LanguageClient_serverCommands` with the folder in step 8)\n\n```\n\" Specify a directory for plugins\n\" - For Neovim: stdpath('data') . '/plugged'\n\" - Avoid using standard Vim directory names like 'plugin'\ncall plug#begin('~/.vim/plugged')\n\n\" Make sure you use single quotes\n\nPlug 'autozimu/LanguageClient-neovim', {\n    \\ 'branch': 'next',\n    \\ 'do': 'bash install.sh',\n    \\ }\n\n\" (Optional) Multi-entry selection UI.\nPlug 'junegunn/fzf'\n\n\" Initialize plugin system\ncall plug#end()\n\nau BufReadPost server.xml set filetype=liberty\nau Filetype liberty set syntax=xml\n\nlet g:LanguageClient_serverCommands = {\n\\ 'liberty': ['java', '-cp', '~/liberty-ls/jars/*', 'org.eclipse.lemminx.XMLServerLauncher']\n                        \\ }\n\nlet g:LanguageClient_loggingLevel = 'DEBUG'\nlet g:LanguageClient_loggingFile =  expand('~/.vim/LibertyLanguageClient.log')\nlet g:LanguageClient_serverStderr = expand('~/.vim/LibertyLanguageServer.log')\n\nnnoremap \u003csilent\u003e \u003cF4\u003e :call LanguageClient#textDocument_hover()\u003cCR\u003e\nnnoremap \u003csilent\u003e \u003cF3\u003e :call LanguageClient#textDocument_completion()\u003cCR\u003e\n```\n\n11. Run `vim +PlugInstall +qall`\n\n12. Open a Liberty server.xml with Vim e.g. https://github.com/OpenLiberty/demo-devmode/blob/master/src/main/liberty/config/server.xml\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericglau%2Fvim-liberty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericglau%2Fvim-liberty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericglau%2Fvim-liberty/lists"}