harper-ls 0.11.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<FullDictionary>>,
    pub linter: LintGroup<Lrc<MergedDictionary<FullDictionary>>>,
    pub language_id: Option<String>
}