mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-03-10 09:27:25 +00:00
docs(treesitter): fix checkhealth command (#6433)
This commit is contained in:
committed by
GitHub
parent
112b8848b5
commit
014b5bf6ac
2
NEWS.md
2
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 **mason.nvim** and **mason-lspconfig.nvim** to `v2.x`
|
||||||
- migrated to [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter/tree/main) **main** branch
|
- 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
|
- 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
|
- 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
|
- enabled [blink.cmp](https://github.com/saghen/blink.cmp) **cmdline** completions
|
||||||
- use **LSP** based folding when available (disable with `nvim-lspconfig.folds.enabled = false`)
|
- use **LSP** based folding when available (disable with `nvim-lspconfig.folds.enabled = false`)
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ return {
|
|||||||
if vim.fn.executable("tree-sitter") == 0 then
|
if vim.fn.executable("tree-sitter") == 0 then
|
||||||
LazyVim.error({
|
LazyVim.error({
|
||||||
"**treesitter-main** requires the `tree-sitter` CLI executable to be installed.",
|
"**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
|
return
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user