Add on-enter handler

Now, typing doc comments is much more pleasant
This commit is contained in:
Aleksey Kladov 2018-10-09 16:00:20 +03:00
parent 82447ecace
commit 2b956fd3a8
12 changed files with 630 additions and 401 deletions

View file

@ -119,6 +119,14 @@ pub struct JoinLinesParams {
pub range: Range,
}
pub enum OnEnter {}
impl Request for OnEnter {
type Params = TextDocumentPositionParams;
type Result = Option<SourceChange>;
const METHOD: &'static str = "m/onEnter";
}
pub enum Runnables {}
impl Request for Runnables {