{"id":13411323,"url":"https://github.com/windwp/nvim-projectconfig","last_synced_at":"2025-10-10T00:31:58.476Z","repository":{"id":80980402,"uuid":"339296653","full_name":"windwp/nvim-projectconfig","owner":"windwp","description":"neovim projectconfig","archived":false,"fork":false,"pushed_at":"2024-07-28T11:39:42.000Z","size":11,"stargazers_count":110,"open_issues_count":3,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-04T04:51:55.482Z","etag":null,"topics":["config","neovim","projects","vim"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/windwp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-02-16T05:38:04.000Z","updated_at":"2025-09-14T14:16:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"a035be48-944a-47a9-b551-cc0516f9320e","html_url":"https://github.com/windwp/nvim-projectconfig","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/windwp/nvim-projectconfig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windwp%2Fnvim-projectconfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windwp%2Fnvim-projectconfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windwp%2Fnvim-projectconfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windwp%2Fnvim-projectconfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/windwp","download_url":"https://codeload.github.com/windwp/nvim-projectconfig/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windwp%2Fnvim-projectconfig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002358,"owners_count":26083356,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["config","neovim","projects","vim"],"created_at":"2024-07-30T20:01:12.912Z","updated_at":"2025-10-10T00:31:58.173Z","avatar_url":"https://github.com/windwp.png","language":"Lua","readme":"## nvim-projectconfig\n\nLoad config depend on current directory.\n\n### Sample\n\ncurrent directory is `/home/abcde/projects/awesome/`.\nyou open vim in **awesome** directory.\n\nIt will load a config file from `~/.config/nvim/projects/awesome.lua` or `~/.config/nvim/projects/awesome.vim`\n\nthis config save outside of your git repo and you don't need to check security on that file.\nIt work perfect if you are working on monorepo.\n\n\n## Install\n``` vim\n  Plug 'windwp/nvim-projectconfig'\n```\nthen add this in your init.lua\n\n```lua\nrequire('nvim-projectconfig').setup()\n```\n\n## FAQ\n*  A command to  open project config file\n\nCommand: **EditProjectConfig**\n\n * I want to change projects-config directory\n\n``` lua\n\nrequire('nvim-projectconfig').setup({\n  project_dir = \"~/.config/projects-config/\",\n})\n\n```\n\n * I have 2 directory have same name.\n \n``` lua\nrequire('nvim-projectconfig').setup({\n  project_dir = \"~/.config/projects-config/\",\n  project_config={\n    {\n      -- full path of your project or a lua regex string\n        path = \"projectconfig\", \n        -- use a function or a path to config file \n        config = function ()\n            print(\"abcde\")\n        end\n    },\n  },\n  silent = false,-- display message after load config file\n})\n```\n\n\n * I want to change my directory inside neovim and load project config.\n\n ``` lua\nrequire('nvim-projectconfig').setup({autocmd=true})\n\n ```\n\n\n## Bonus\na function to load and save json file and do whatever you want.\n```lua\nrequire('nvim-projectconfig').load_json()\nrequire('nvim-projectconfig').save_json(data)\n```\n\n","funding_links":[],"categories":["Project","Lua"],"sub_categories":["Markdown and LaTeX","Assembly"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindwp%2Fnvim-projectconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwindwp%2Fnvim-projectconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindwp%2Fnvim-projectconfig/lists"}