Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async codeLens(editor) {
const {Convert} = require('atom-languageclient');
return await this.connection.sendCustomRequest('textDocument/codeLens', {
textDocument: Convert.editorToTextDocumentIdentifier(editor)
});
}