GitPedia
AstroNvim

AstroNvim/astrocore

Core AstroNvim configuration engine

30 Releases
Latest: 2w ago
v3.0.5Latest
astronvimbotastronvimbot·2w ago·June 5, 2026
GitHub

🐛 Bug Fixes

  • treesitter: check installation of parsers before checking if parser is available ([1e35fc1](https://github.com/AstroNvim/astrocore/commit/1e35fc1ea8c82b66f305f104c0af28783517bd43))
v3.0.4
astronvimbotastronvimbot·3w ago·June 3, 2026
GitHub

🐛 Bug Fixes

  • treesitter: make sure installed parsers are properly checked before auto installing ([8ea3a1e](https://github.com/AstroNvim/astrocore/commit/8ea3a1e43041862dd481772b943f6b2bf655057e))
v3.0.3
astronvimbotastronvimbot·2mo ago·April 20, 2026
GitHub

Performance Improvements

  • treesitter: improve performance of fold refresh after loading treesitter ([2b87f90](https://github.com/AstroNvim/astrocore/commit/2b87f909b5f1040b0855ca7ecf1a17bb00a6640f))
v3.0.2
astronvimbotastronvimbot·2mo ago·April 17, 2026
GitHub

🐛 Bug Fixes

  • treesitter: only force a folds refresh if the buffer is the current buffer ([84ecc2c](https://github.com/AstroNvim/astrocore/commit/84ecc2c6e95fdf31fce3c5ad207ea23c640a2f6f))
v3.0.1
astronvimbotastronvimbot·2mo ago·April 13, 2026
GitHub

🐛 Bug Fixes

  • treesitter: check buffer validity before enabling features ([4763bc9](https://github.com/AstroNvim/astrocore/commit/4763bc92c21191039497e3d862fa9e0b2b33fedd))
v3.0.0
astronvimbotastronvimbot·2mo ago·March 30, 2026
GitHub

💥 ⚠ BREAKING CHANGES

  • drop support for Neovim v0.10

Features

  • add tooling for configuring and setting up treesitter features in Neovim ([d9a3831](https://github.com/AstroNvim/astrocore/commit/d9a383104ed2327a2d9ec5a871977ac974d589b5))
  • treesitter: add ability to disable treesitter ([aa5d2ce](https://github.com/AstroNvim/astrocore/commit/aa5d2cedabba678ee200370772b3f262c7d5466f))
  • treesitter: add the ability to configure textobjects ([6f5099f](https://github.com/AstroNvim/astrocore/commit/6f5099f50a3253af9c81f5eafc90d3b246c4916d))
  • update treesitter parsers when updating plugins and packages ([4ce7521](https://github.com/AstroNvim/astrocore/commit/4ce7521a185fd07652975554f775cbb01fea806a))

🐛 Bug Fixes

  • buffer: require all restored files to have a filename and be listed ([a03e23e](https://github.com/AstroNvim/astrocore/commit/a03e23eaaa2a06f694318db5c773efff2e285de3))
  • fix formatting ([a4ba031](https://github.com/AstroNvim/astrocore/commit/a4ba031a05b18a2ab2f61a7e1355da1be67ca170))
  • toggles: update treesitter syntax toggling ([1ba44f8](https://github.com/AstroNvim/astrocore/commit/1ba44f8a832bffbdd6145bbb5b5686b0ea357046))
  • treesitter: don't automatically enable treesitter if user has disabled it specifically ([d633eb9](https://github.com/AstroNvim/astrocore/commit/d633eb9450c82fb12513947bf5f97b547aced760))
  • treesitter: filter already installed languages ([d621a7b](https://github.com/AstroNvim/astrocore/commit/d621a7b79cbd08c8663aa2fb8a371a95fd220802))
  • treesitter: force refresh folds on loading treesitter ([25b2ed1](https://github.com/AstroNvim/astrocore/commit/25b2ed108a18c5942e864a3a724e22b6d0a023fc))
  • treesitter: resolve incorrect callbacks in installation ([2147f73](https://github.com/AstroNvim/astrocore/commit/2147f735d922820dff0530fb6a993484735eccfd))
  • treesitter: separate automatic installation option ([58e6c06](https://github.com/AstroNvim/astrocore/commit/58e6c0649af990e3affbe687140688cff6e3bb68))

♻️ Code Refactoring

  • drop support for Neovim v0.10 ([4ad031c](https://github.com/AstroNvim/astrocore/commit/4ad031cf7c4f47e4641a9490b8f3a42e14e08271))
v2.1.2
astronvimbotastronvimbot·2mo ago·March 30, 2026
GitHub

🐛 Bug Fixes

  • resession: fix vim.t.bufs arrays restoring as non-contiguous ([f7c9515](https://github.com/AstroNvim/astrocore/commit/f7c951542032d0744b875af91854a2860bbbcf2b))
v2.1.1
astronvimbotastronvimbot·4mo ago·February 17, 2026
GitHub

🐛 Bug Fixes

  • buffer: make sure to not rule a buffer as large until it is fully loaded ([cf7c5ea](https://github.com/AstroNvim/astrocore/commit/cf7c5eaf3078e8e7389cfc6b40aa7c49710ede22))
v2.1.0
astronvimbotastronvimbot·4mo ago·February 6, 2026
GitHub

Features

  • add AstroUpdateCompleted event after Mason tools update ([e619a6b](https://github.com/AstroNvim/astrocore/commit/e619a6bd3ffff71d8b014cc74e4cde92b9f540c8))
v2.0.5
astronvimbotastronvimbot·1y ago·April 30, 2025
GitHub

🐛 Bug Fixes

  • rooter: improve `exists` function ([1b96f40](https://github.com/AstroNvim/astrocore/commit/1b96f40c76d7ff792515d5d41c8f31081fd3c5b0))
v2.0.4
astronvimbotastronvimbot·1y ago·April 28, 2025
GitHub

🐛 Bug Fixes

  • improve rooter docstring ([3c79603](https://github.com/AstroNvim/astrocore/commit/3c7960313120ea6f58196aa27b14760a7c459955))
v2.0.3
astronvimbotastronvimbot·1y ago·April 23, 2025
GitHub

🐛 Bug Fixes

  • buffer: get the session config directly from the `astrocore` module ([89c080c](https://github.com/AstroNvim/astrocore/commit/89c080ce4e946adacbf5519eda97cd4c0c84a3a6))
v2.0.2
astronvimbotastronvimbot·1y ago·April 21, 2025
GitHub

📦 Reverts

  • remove `vim.lsp.foldexpr` hack ([6a58ab8](https://github.com/AstroNvim/astrocore/commit/6a58ab83503097bc7b3df0517fbc0b9377cc3142))
v2.0.1
astronvimbotastronvimbot·1y ago·April 9, 2025
GitHub

🐛 Bug Fixes

  • resession: prime `vim.lsp.foldexpr` on session restore ([6e9e51a](https://github.com/AstroNvim/astrocore/commit/6e9e51aa0d06c5a8af72abfa58f25ce80df8a86b))
v2.0.0
astronvimbotastronvimbot·1y ago·March 26, 2025
GitHub

💥 ⚠ BREAKING CHANGES

  • rename `vim.b.cmp_enabled` to `vim.b.completion`
  • simplify diagnostic toggling to just enabled/disabled rather than various modes
  • allow `rename_file` to be passed in the new filename
  • remove `mason` module and use `mason-tools-installer` if available for applying mason updates
  • remove `system_open` function as one should use `vim.ui.open`
  • require Neovim v0.10

Features

  • add `enabled` function to `large_buf` configuration for fine grain control over what bufers get detected ([396974e](https://github.com/AstroNvim/astrocore/commit/396974ec2a820b72326d4d1c3e9b8c14a285a5e8))
  • add `virtual_text` and `virtual_lines` toggles ([78de20e](https://github.com/AstroNvim/astrocore/commit/78de20e59f6f6cae6cd12c2f2fbab7dc49abac04))
  • allow `large_buf.enabled` function to modify large buffer configuration ([9ac85b7](https://github.com/AstroNvim/astrocore/commit/9ac85b7b2efc96acc4d6484e1b9873bcb3c9d275))
  • allow `rename_file` to be passed in the new filename ([5da4f87](https://github.com/AstroNvim/astrocore/commit/5da4f873fdcf252a38a58d47dc558798a122b909))
  • allow configuration of virtual text and virtual lines on startup ([ea2206c](https://github.com/AstroNvim/astrocore/commit/ea2206c4dbb98b5b1122985570598a6e8e423be6))
  • prompt user to save file before renaming with `rename_file` ([3a75df9](https://github.com/AstroNvim/astrocore/commit/3a75df9979ee24bebc12fb96bf74b0630a39ac38))
  • rename `vim.b.cmp_enabled` to `vim.b.completion` ([499de90](https://github.com/AstroNvim/astrocore/commit/499de90c663fccb7d37d6048c702d205b1104abc))
  • set colorscheme when necessary if AstroUI is available ([c78fa9c](https://github.com/AstroNvim/astrocore/commit/c78fa9cfa72a876aa9a46f01a4dd4b3b47bc499f))
  • + 1 more

🐛 Bug Fixes

  • config: normalize mappings when running `setup` ([2d03ccc](https://github.com/AstroNvim/astrocore/commit/2d03ccc038f1fca21057dea43c209830a837ae06))
  • maintain original tab ordering when renaming file ([ba308ba](https://github.com/AstroNvim/astrocore/commit/ba308ba9e5f8fa2ec1021e48961ecd059901c665))
  • rename `overwrite` option to `force` in `rename_file` ([bc7bd35](https://github.com/AstroNvim/astrocore/commit/bc7bd35e7bb1b5a165d7347d6dc9b89e90587579))
  • validate original file exists in `rename_file` ([8295110](https://github.com/AstroNvim/astrocore/commit/8295110fe7962d6153dc9523151cc2e05ffe565b))

♻️ Code Refactoring

  • remove `mason` module and use `mason-tools-installer` if available for applying mason updates ([88c9e08](https://github.com/AstroNvim/astrocore/commit/88c9e08ce08e725eaa6980364982e76f91b7a8ec))
  • remove `system_open` function as one should use `vim.ui.open` ([2715dbf](https://github.com/AstroNvim/astrocore/commit/2715dbff99bdce60a69feb571194a4cd6997176b))
  • require Neovim v0.10 ([3690cc6](https://github.com/AstroNvim/astrocore/commit/3690cc60e953b4537aa6435ff6ef13162b44e0d1))
v1.16.0
astronvimbotastronvimbot·1y ago·February 18, 2025
GitHub

Features

  • add `set_diagnostics` helper function to easily change diagnostics mode ([a073c79](https://github.com/AstroNvim/astrocore/commit/a073c79e27e3dabf50243daa6b764789b1da76cb))
v1.15.0
astronvimbotastronvimbot·1y ago·February 17, 2025
GitHub

Features

  • add `rename_file` method for prompting the user to rename a file ([633a260](https://github.com/AstroNvim/astrocore/commit/633a2606050f678d0393fc1feb2b9af28fe9a657))
v1.14.0
astronvimbotastronvimbot·1y ago·February 14, 2025
GitHub

Features

  • add support for `snacks.bufdelete` to buffer utilities ([5e26ac1](https://github.com/AstroNvim/astrocore/commit/5e26ac1f45fd2b0307bf6c6c04be1b4d33532505))
v1.13.2
astronvimbotastronvimbot·1y ago·February 13, 2025
GitHub

🐛 Bug Fixes

  • buffer: improve type safety for `is_large` ([9a6ed00](https://github.com/AstroNvim/astrocore/commit/9a6ed00103ed02ce10c769b104749ff5fba50e52))
v1.13.1
astronvimbotastronvimbot·1y ago·February 13, 2025
GitHub

🐛 Bug Fixes

  • large_buf: no need to pass in `bufnr` data ([ca7c59c](https://github.com/AstroNvim/astrocore/commit/ca7c59ce094b98ab540b3d59ebc0fe80ec374553))
v1.13.0
astronvimbotastronvimbot·1y ago·February 13, 2025
GitHub

Features

  • large_buf: improve `is_large` API and add configurable notification on detection ([e3085ab](https://github.com/AstroNvim/astrocore/commit/e3085abb370f3a556676707c103d33223560f084))
v1.12.2
astronvimbotastronvimbot·1y ago·February 13, 2025
GitHub

🐛 Bug Fixes

  • incorrect autocommand description ([d356cc5](https://github.com/AstroNvim/astrocore/commit/d356cc5119a5b5f0dc43a6261b4c150af2c9cf2f))
v1.12.1
astronvimbotastronvimbot·1y ago·February 13, 2025
GitHub

🐛 Bug Fixes

  • resolve incorrect function location (not considered breaking because bug and new) ([1b72dfe](https://github.com/AstroNvim/astrocore/commit/1b72dfe382d4815aadab6df91d90b1fcf23b4c75))
v1.12.0
astronvimbotastronvimbot·1y ago·February 12, 2025
GitHub

Features

  • add `is_large_buf` to interactively check if buffer is large ([7a80ad7](https://github.com/AstroNvim/astrocore/commit/7a80ad74ee42884cbd3086be02053c773bc36a6e))
  • add `line_length` to large buffer detection ([aa76560](https://github.com/AstroNvim/astrocore/commit/aa76560f144bc0de128d6bd9d5024d335ca51ecc))
  • allow disabling individual large file metrics ([5463a98](https://github.com/AstroNvim/astrocore/commit/5463a98314168116f2d62f15bbd5e8761071f310))

🐛 Bug Fixes

  • improve typos detection ([025274c](https://github.com/AstroNvim/astrocore/commit/025274c5db248320c6f0d079d15b2e5fe6447b4a))
v1.11.0
astronvimbotastronvimbot·1y ago·October 28, 2024
GitHub

Features

  • health: add health check for conflicting mappings ([1040947](https://github.com/AstroNvim/astrocore/commit/1040947440b44d1d79ec575b30ba05c7091d6dff))
v1.10.0
astronvimbotastronvimbot·1y ago·September 27, 2024
GitHub

Features

  • add `with_file` helper to run a function on an opened file ([ca2a852](https://github.com/AstroNvim/astrocore/commit/ca2a852831ad113606b8a16c40ff1ac44644b2a3))
v1.9.0
astronvimbotastronvimbot·1y ago·September 19, 2024
GitHub

Features

  • add `patch_func` to monkey patch into an existing function ([e7d7a35](https://github.com/AstroNvim/astrocore/commit/e7d7a35c490b4e1f15252f36c198d35e21490f4d))
v1.8.1
astronvimbotastronvimbot·1y ago·September 17, 2024
GitHub

🐛 Bug Fixes

  • remove non-public facing `json` module as it was merged upstream ([2d19ef3](https://github.com/AstroNvim/astrocore/commit/2d19ef3f8b97418b31bbf665cd6a2f68a4c95782))
v1.8.0
astronvimbotastronvimbot·1y ago·August 29, 2024
GitHub

Features

  • buffer: add utility to check if a buffer has a filetype ([a00fa8c](https://github.com/AstroNvim/astrocore/commit/a00fa8c08b534cd3c56a39bc76d64de7d5ae9e64))
v1.7.2
astronvimbotastronvimbot·1y ago·August 27, 2024
GitHub

🐛 Bug Fixes

  • buffer: make sure previous buffer is valid ([1087dc4](https://github.com/AstroNvim/astrocore/commit/1087dc4645724bc28bb6c82d0a2ac73377e68411))