How to use the bash-language-server.initialize function in bash-language-server

To help you get started, we’ve selected a few bash-language-server examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mads-hartmann / bash-language-server / vscode-client / src / server.ts View on Github external
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(),
  }
})

bash-language-server

A language server for Bash

MIT
Latest version published 1 month ago

Package Health Score

87 / 100
Full package analysis

Popular bash-language-server functions

Similar packages