summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/editorconfig.lua
AgeCommit message (Collapse)AuthorFiles
2026-04-09backport: feat(api): rename buffer to buf (#38899)Justin M. Keyes1
feat(api): rename buffer to buf Problem: `:help dev-name-common` states that "buf" should be used instead of "buffer" but there are cases where buffer is mentioned in the lua API. Solution: - Rename occurrences of "buffer" to "buf" for consistency with the documentation. - Support (but deprecate) "buffer" for backwards compatibility. Co-authored-by: Jordan <46637683+JordanllHarper@users.noreply.github.com>
2026-03-12refactor: integer functions, optimize asserts #34112Lewis Russell1
refactor(lua): add integer coercion helpers Add vim._tointeger() and vim._ensure_integer(), including optional base support, and switch integer-only tonumber()/assert call sites in the Lua runtime to use them. This also cleans up related integer parsing in LSP, health, loader, URI, tohtml, and Treesitter code. supported by AI
2025-12-15docs: misc, editorconfigJustin M. Keyes1
fix https://github.com/neovim/neovim/issues/36858
2025-06-11fix(editorconfig): a custom property is treated as a section (#34445)fortime1
Problem: A custom property containing a pair of square brackets will be treated as a section. Solution: Change the logic parsing a section, remove the first match regex `%b[]`. Signed-off-by: fortime <palfortime@gmail.com>
2025-05-10refactor(docs): remove unnecessary `@private`/`@nodoc` annotations (#33951)Maria José Solano1
* refactor(docs): remove `@private` annotations from local functions * refactor(docs): remove unnecessary `@nodoc` annotations
2025-01-14refactor: use nvim.foo.bar format for autocommand groupsMaria José Solano1
2024-06-06feat(editorconfig): add support for spelling_language (#28638)sus-domesticus1
2024-05-15docs: misc (#28609)dundargoc1
Closes https://github.com/neovim/neovim/issues/28484. Closes https://github.com/neovim/neovim/issues/28719. Co-authored-by: Chris <crwebb85@gmail.com> Co-authored-by: Gregory Anders <greg@gpanders.com> Co-authored-by: Jake B <16889000+jakethedev@users.noreply.github.com> Co-authored-by: Jonathan Raines <jonathan.s.raines@gmail.com> Co-authored-by: Yi Ming <ofseed@foxmail.com> Co-authored-by: Zane Dufour <zane@znd4.me> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
2024-03-11fix(editorconfig): syntax error regressionLewis Russell1
2024-03-10docs(editorconfig): move to sourceLewis Russell1
2023-08-27fix(editorconfig): do not set 'endofline'Lewis Russell1
Problem: 'endofline' can be used to detect if a file ends of <EOL>, however editorconfig can break this. Solution: Set 'endofline' during BufWritePre Fixes: #24869
2023-08-23fix(editorconfig): only warn once on errorsLewis Russell1
2023-06-05fix(editorconfig): check that buffer is valid (#23922)Gregory Anders1
Fixes: https://github.com/neovim/neovim/issues/23921
2023-05-03fix(editorconfig): add missing root validation (#23462)Bogdan Grigoruță1
2023-04-14feat(lua): vim.tbl_contains supports general tables and predicates (#23040)Christian Clason1
* feat(lua): vim.tbl_contains supports general tables and predicates Problem: `vim.tbl_contains` only works for list-like tables (integer keys without gaps) and primitive values (in particular, not for nested tables). Solution: Rename `vim.tbl_contains` to `vim.list_contains` and add new `vim.tbl_contains` that works for general tables and optionally allows `value` to be a predicate function that is checked for every key.
2023-03-04docs(editorconfig): number → integer (#22514)Jaehwang Jung1
2023-01-03feat(editorconfig): add builtin EditorConfig supportGregory Anders1