Skip to content

Commit 5c721b3

Browse files
committed
fix(health): tree-sitter-rust parser check on Windows
1 parent 7da155a commit 5c721b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/rustaceanvim/health.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ end
139139
local function check_tree_sitter()
140140
start('Checking for tree-sitter parser')
141141
local has_tree_sitter_rust_parser = #vim.api.nvim_get_runtime_file('parser/rust.so', true) > 0
142+
or #vim.api.nvim_get_runtime_file('parser/rust.dll', true) > 0
142143
if has_tree_sitter_rust_parser then
143144
ok('tree-sitter parser for Rust detected.')
144145
else

0 commit comments

Comments
 (0)