diff options
Diffstat (limited to 'crates/ra_lsp_server/src/req.rs')
-rw-r--r-- | crates/ra_lsp_server/src/req.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crates/ra_lsp_server/src/req.rs b/crates/ra_lsp_server/src/req.rs index 4af61dbbd..458c79ea9 100644 --- a/crates/ra_lsp_server/src/req.rs +++ b/crates/ra_lsp_server/src/req.rs | |||
@@ -119,6 +119,14 @@ pub struct JoinLinesParams { | |||
119 | pub range: Range, | 119 | pub range: Range, |
120 | } | 120 | } |
121 | 121 | ||
122 | pub enum OnEnter {} | ||
123 | |||
124 | impl Request for OnEnter { | ||
125 | type Params = TextDocumentPositionParams; | ||
126 | type Result = Option<SourceChange>; | ||
127 | const METHOD: &'static str = "m/onEnter"; | ||
128 | } | ||
129 | |||
122 | pub enum Runnables {} | 130 | pub enum Runnables {} |
123 | 131 | ||
124 | impl Request for Runnables { | 132 | impl Request for Runnables { |