Skip to content

Commit

Permalink
fix(health): tree-sitter-rust parser check on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Aug 5, 2024
1 parent 7da155a commit 5c721b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/rustaceanvim/health.lua
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ end
local function check_tree_sitter()
start('Checking for tree-sitter parser')
local has_tree_sitter_rust_parser = #vim.api.nvim_get_runtime_file('parser/rust.so', true) > 0
or #vim.api.nvim_get_runtime_file('parser/rust.dll', true) > 0
if has_tree_sitter_rust_parser then
ok('tree-sitter parser for Rust detected.')
else
Expand Down

0 comments on commit 5c721b3

Please sign in to comment.