Skip to main content

lsp_binary_on_path

Function lsp_binary_on_path 

Source
pub fn lsp_binary_on_path(server_binary: &str, path_var: Option<&str>) -> bool
Expand description

Whether server_binary resolves on path_var: some directory on the path holds it as an executable file. path_var is injected so tests need not touch the process environment.