mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
docs(health): consistent use of tree-sitter-cli
This commit is contained in:
parent
030e979b23
commit
f4d22b96c5
1 changed files with 3 additions and 3 deletions
|
|
@ -54,14 +54,14 @@ local function install_health()
|
|||
local ts = check_exe('tree-sitter')
|
||||
if ts then
|
||||
if vim.version.ge(ts.version, TREE_SITTER_MIN_VER) then
|
||||
health.ok(string.format('tree-sitter %s (%s)', ts.version, ts.path))
|
||||
health.ok(string.format('tree-sitter-cli %s (%s)', ts.version, ts.path))
|
||||
else
|
||||
health.error(
|
||||
string.format('tree-sitter CLI v%d.%d.%d is required', unpack(TREE_SITTER_MIN_VER))
|
||||
string.format('tree-sitter-cli v%d.%d.%d is required', unpack(TREE_SITTER_MIN_VER))
|
||||
)
|
||||
end
|
||||
else
|
||||
health.error('tree-sitter CLI not found')
|
||||
health.error('tree-sitter-cli not found')
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue