Skip to content

Commit 2076298

Browse files
format
1 parent e6d6019 commit 2076298

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/lib/lspClient.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff 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
/**

0 commit comments

Comments
 (0)