sway_lsp::core::session

Function parse_project

Source
pub fn parse_project(
    uri: &Url,
    engines: &Engines,
    retrigger_compilation: Option<Arc<AtomicBool>>,
    lsp_mode: Option<LspConfig>,
    session: Arc<Session>,
) -> Result<(), LanguageServerError>
Expand description

Parses the project and returns true if the compiler diagnostics are new and should be published.