LSP server experiment
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nils 82d259b665
Update 'index.js'
1 year ago Update '' 1 year ago
index.js Update 'index.js' 1 year ago
package.json Add server 1 year ago


Example language server to demonstrate the language server protocol.

To install all needed dependencies and adding a link that can be found inside $PATH, please run:

npm install
npm link

To run the server use:

lsp-server --stdio

Neovim configuration

Use the following as starting point to add a custom definition for this language server to neovim:

configs.lsp-server = {
  default_config = {
    cmd = { "lsp-server", "--stdio"};
    autostart = false;
    filetypes = {'text'};
    dynamicRegistration = true;
    single_file_support = true;
    init_options = {
      jvm_args = {},
      os_config = nil,

require'lspconfig'.lsp-server.setup {}