Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
connection.onInitialize(async (params: InitializeParams): Promise => {
connection.console.info('BashLanguageServer initializing...')
const server = await BashLanguageServer.initialize(connection, params)
server.register(connection)
connection.console.info('BashLanguageServer initialized')
return {
capabilities: server.capabilities(),
}
})