{"id":19381077,"url":"https://github.com/j2kun/nvim-config","last_synced_at":"2025-04-23T20:31:49.614Z","repository":{"id":71944532,"uuid":"536868144","full_name":"j2kun/nvim-config","owner":"j2kun","description":"Neovim config","archived":false,"fork":false,"pushed_at":"2025-01-26T23:50:07.000Z","size":82,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T19:46:51.388Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","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/j2kun.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":"2022-09-15T04:49:52.000Z","updated_at":"2025-01-26T23:50:10.000Z","dependencies_parsed_at":"2024-01-26T23:27:36.777Z","dependency_job_id":"a3076a30-9742-43d9-bd9e-8c75fced9551","html_url":"https://github.com/j2kun/nvim-config","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/j2kun%2Fnvim-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j2kun%2Fnvim-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j2kun%2Fnvim-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j2kun%2Fnvim-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/j2kun","download_url":"https://codeload.github.com/j2kun/nvim-config/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250509673,"owners_count":21442474,"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-11-10T09:15:45.841Z","updated_at":"2025-04-23T20:31:49.602Z","avatar_url":"https://github.com/j2kun.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Setting up Neovim on a new machine\n\nEnsure python3.12 is installed, this also may require installing pip/ensurepip\nfor python3.12, something like `sudo apt install python3.12-venv` on\nDebian/Ubuntu.\n\n## Install instructions\n\nThis is an incomplete list. Add more as I find things break when I install on a\nnew machine.\n\n## Install vim-plug\n\nSee https://github.com/junegunn/vim-plug for latest instructions.\n\n```bash\nsh -c 'curl -fLo \"${XDG_DATA_HOME:-$HOME/.local/share}\"/nvim/site/autoload/plug.vim --create-dirs \\\n       https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'\n```\n\n### nvim-specific virtualenv\n\n```\npython3.12 -m venv venv\nsource venv/bin/activate\npip install -r requirements.txt\n```\n\nThis allows nvim to have its own version of python-lsp-server, etc., separate\nfrom the virtualenv that is used for a specific python project. Note that\nwithout this, you'll see an error when neovim starts up that it can't find the\npython interpreter or pylsp, because of this line in `init.vim`:\n\n```\nlet g:python3_host_prog=$HOME.\"/.config/nvim/venv/bin/python3\"\n```\n\n### Treesitter\n\n```\ncargo install tree-sitter-cli\n```\n\nThen open neovim and run `:PlugInstall` and `:TSInstall all`\n\n### Language servers\n\n`lua/language_server.lua` contains configs for language servers. The python\nserver is handled by the virtualenv install above, but others require manual\ninstallation, adding to the system `$PATH`.\n\nThe [lua_ls](https://github.com/sumneko/lua-language-server) is particularly\nstrange and custom. Clone/build it at `~/.local/lua-language-server` and the\nconfig will find the binary.\n\nThe [yaml-language-server](https://www.npmjs.com/package/yaml-language-server)\nis installed via `sudo npm install -g yaml-language-server`.\n\nThe golang language server [gopls](https://github.com/golang/tools/tree/master/gopls)\nis installed via `go install golang.org/x/tools/gopls@latest`. This may require\n`$PATH` to include a custom go binary dir configuration (e.g.,\n`/usr/local/go/bin` or `$HOME/go/bin`).\n\n### Nerd fonts\n\nOptionally install [nerd fonts](https://www.nerdfonts.com/) for your system for\nthe `symbols-outline` plugin (it won't break but the icons in the outline\nwindow will look odd).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj2kun%2Fnvim-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fj2kun%2Fnvim-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj2kun%2Fnvim-config/lists"}