just-lsp 0.2.4

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

pub(crate) trait PositionExt {
  fn point(&self) -> Point;
}

impl PositionExt for lsp::Position {
  fn point(&self) -> Point {
    Point {
      row: self.line as usize,
      column: self.character as usize,
    }
  }
}