just-lsp 0.1.3

A language server for just
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use super::*;

#[derive(Debug, PartialEq, Eq)]
pub(crate) struct Variable {
  pub(crate) name: TextNode,
  pub(crate) export: bool,
  pub(crate) content: String,
  pub(crate) range: lsp::Range,
}

impl Hash for Variable {
  fn hash<H: Hasher>(&self, state: &mut H) {
    self.name.value.hash(state);
  }
}