From 014b5bf6ac9ec24c955d481882b5e8cb39846d97 Mon Sep 17 00:00:00 2001 From: Alexey Svirshchevskiy Date: Wed, 17 Sep 2025 10:40:37 +0200 Subject: [PATCH] docs(treesitter): fix checkhealth command (#6433) --- NEWS.md | 2 +- lua/lazyvim/plugins/treesitter.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NEWS.md b/NEWS.md index 050440b2..9342acb2 100644 --- a/NEWS.md +++ b/NEWS.md @@ -13,7 +13,7 @@ Going forward, **LazyVim** requires **Neovim** `>= 0.11.2`, and drops support fo - migrated **mason.nvim** and **mason-lspconfig.nvim** to `v2.x` - migrated to [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter/tree/main) **main** branch - with the new version, the `tree-sitter` cli is **required** to install parsers - - best to run `:checkhealth nvim_treesitter` after updating + - best to run `:checkhealth nvim-treesitter` after updating - replace `nvim-treesitter` incremental selection with `flash.nvim`, since it is no longer supported - enabled [blink.cmp](https://github.com/saghen/blink.cmp) **cmdline** completions - use **LSP** based folding when available (disable with `nvim-lspconfig.folds.enabled = false`) diff --git a/lua/lazyvim/plugins/treesitter.lua b/lua/lazyvim/plugins/treesitter.lua index d65ce551..1d5abb2f 100644 --- a/lua/lazyvim/plugins/treesitter.lua +++ b/lua/lazyvim/plugins/treesitter.lua @@ -53,7 +53,7 @@ return { if vim.fn.executable("tree-sitter") == 0 then LazyVim.error({ "**treesitter-main** requires the `tree-sitter` CLI executable to be installed.", - "Run `:checkhealth nvim_treesitter` for more information.", + "Run `:checkhealth nvim-treesitter` for more information.", }) return end