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'
2 years ago
README.md Update 'README.md' 2 years ago
index.js Update 'index.js' 2 years ago
package.json Add server 2 years ago

README.md

LSP-Server

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 {}