Skip to content

Commit

Permalink
fix(health): rust-analyzer reported as not found in neovim 0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Mar 18, 2024
1 parent 6c9b8a9 commit b0548ff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [4.14.1] - 2024-03-17

### Fixed

- Health: rust-analyzer reported as not found in neovim 0.9 [[#302](https://github.com/mrcjkb/rustaceanvim/issues/302)].

## [4.14.0] - 2024-03-17

### Added
Expand Down
2 changes: 1 addition & 1 deletion lua/rustaceanvim/health.lua
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ function health.check()
return { get_rust_analyzer_binary() }
end,
is_installed = function(bin)
if vim.fn.has('nvim-0.10') then
if type(vim.system) == 'function' then
local success = pcall(function()
vim.system { bin, '--version' }
end)
Expand Down

0 comments on commit b0548ff

Please sign in to comment.