{"id":25531211,"url":"https://github.com/jokesper/align.nvim","last_synced_at":"2025-08-21T19:14:51.676Z","repository":{"id":238726101,"uuid":"795214810","full_name":"jokesper/align.nvim","owner":"jokesper","description":"A simple plugin to allow alignment over multiple lines.","archived":false,"fork":false,"pushed_at":"2024-08-26T20:56:33.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-26T23:57:10.123Z","etag":null,"topics":["alignment","elastic-tabst","lua","neovim","neovim-plugin","nvim","nvim-lua"],"latest_commit_sha":null,"homepage":"","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/jokesper.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":"2024-05-02T20:11:04.000Z","updated_at":"2024-08-26T20:56:37.000Z","dependencies_parsed_at":"2024-05-07T18:58:06.210Z","dependency_job_id":"a32494b1-233d-4f34-a2f2-f9ce2ed0c3c6","html_url":"https://github.com/jokesper/align.nvim","commit_stats":null,"previous_names":["jokesper/align.nvim"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jokesper%2Falign.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jokesper%2Falign.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jokesper%2Falign.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jokesper%2Falign.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jokesper","download_url":"https://codeload.github.com/jokesper/align.nvim/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239758824,"owners_count":19692034,"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":["alignment","elastic-tabst","lua","neovim","neovim-plugin","nvim","nvim-lua"],"created_at":"2025-02-20T00:47:50.183Z","updated_at":"2025-02-20T00:47:50.671Z","avatar_url":"https://github.com/jokesper.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# align.nvim\nA simple plugin to allow alignment over multiple lines.\n\n## [Elastic Tabstops](https://nick-gravgaard.com/elastic-tabstops/)\n[Elastic Tabstops](https://nick-gravgaard.com/elastic-tabstops/) can be emulated\nwith `\\t` in the `align` field. This is set by default.\nThe width of the alignment does not follow the specs (minimum width)\n\n## Requirements\n- nvim \u003e= 0.10.x\n\n## Installation\n\n### [lazy.nvim](https://github.com/wbthomason/packer.nvim)\n```lua\n{ 'jokesper/align.nvim' }\n```\n\n## Configuration\nConfiguration happens in lua.\nIf you would like to instead configure it using vimscript,\nsee `:help lua-heredoc`.\n\n### Default configuration\n```lua\nrequire 'align'.setup {\n\t-- `array` of `modes` (output of `nvim_get_mode().mode` (`n`, `i`, ...)).\n\t-- Leave empty if you want to always update the alignments.\n\tupdate_in_modes = {},\n\t-- `table` of patterns to align.\n\t-- - `number` (positional) arguments are global alignments.\n\t-- - `string` arguments are filetype specific.\n\t--   The key has to be the same as the filetype (value of `vim.opt.filetype`)\n\t--   or `*` as a fallback.\n\t--\n\t-- A pattern can be either:\n\t-- 1. `false` to disable defaults (usually at index `0`).\n\t-- 2. A `string` representing a lua pattern which gets leftaligned.\n\t-- 4. A `table` representing multiple patterns with optional properties.\n\t-- \t  The properties can be:\n\t-- \t  - `align` which specifies how to align the pattern.\n\t-- \t    One of `left`, `right` or `center`.\n\talign = {\n\t\t[0] = {\n\t\t\t'\\t',\n\t\t\t{ '%s[+-]?[%d.,]+', align = 'right' },\n\t\t},\n\t\t['*'] = {\n\t\t\t[0] = {\n\t\t\t\t' = ',\n\t\t\t},\n\t\t},\n\t\tcsv = {\n\t\t\t[0] = {\n\t\t\t\t',',\n\t\t\t},\n\t\t},\n\t},\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjokesper%2Falign.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjokesper%2Falign.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjokesper%2Falign.nvim/lists"}