File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ export default class lspClient {
9191 * Add an editor to the language provider
9292 * @param {Object } editor - Ace editor instance
9393 * @returns {boolean } - Success status
94- *
94+ *
9595 * Note: this is not limited to a single editor tab
9696 */
9797 addEditor ( editor ) {
@@ -306,15 +306,15 @@ export default class lspClient {
306306 params ,
307307 ( result ) => {
308308 resolve ( result ) ;
309- }
309+ } ,
310310 ) ;
311311 } catch ( err ) {
312312 reject ( err ) ;
313313 }
314314 } ) ;
315315 }
316316
317- async getDefination ( editor , uri ) {
317+ async getDefinition ( editor , uri ) {
318318 const result = await this . sendRequest ( "textDocument/definition" , {
319319 textDocument : { uri } ,
320320 position : {
@@ -326,7 +326,6 @@ export default class lspClient {
326326 return result ;
327327 }
328328
329-
330329 // Private helper methods
331330
332331 /**
You can’t perform that action at this time.
0 commit comments