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.

github mads-hartmann / bash-language-server / vscode-client / src / server.ts View on Github external
connection.onInitialize(async (params: InitializeParams): Promise<InitializeResult> => {
  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 2 months ago

Package Health Score

84 / 100
Full package analysis

Popular bash-language-server functions

Similar packages