harper-ls 0.17.0

The language checker for developers.
1
2
3
4
5
6
7
8
9
10
11
use harper_core::linting::LintGroup;
use harper_core::{Document, FullDictionary, Lrc, MergedDictionary};

#[derive(Default)]
pub struct DocumentState {
    pub document: Document,
    pub ident_dict: Lrc<FullDictionary>,
    pub dict: Lrc<MergedDictionary>,
    pub linter: LintGroup<Lrc<MergedDictionary>>,
    pub language_id: Option<String>,
}