bqnlsp

plugins.lsp.servers.bqnlsp.enable

Whether to enable https://git.sr.ht/~detegr/bqnlsp

bqnlsp, a language server for BQN.

The binary depends on the shared library of CBQN libcbqn.so. If CBQN is installed system-wide (using sudo make install in its source directory) and bqnlsp errors that it can’t find the shared library, update the linker cache by executing sudo ldconfig. If CBQN has been installed in a non-standard directory or can’t be installed globally pass libcbqnPath = '/path/to/CBQN' to the setup function. This will set the environment variables LD_LIBRARY_PATH (Linux) or DYLD_LIBRARY_PATH (macOS) to the provided path.

.

Type: boolean

Default: false

Example: true

Declared by:

plugins.lsp.servers.bqnlsp.package

The package to use for bqnlsp. Has no default, but can be set to null.

Type: null or package

Declared by:

plugins.lsp.servers.bqnlsp.autostart

Controls if the FileType autocommand that launches a language server is created. If false, allows for deferring language servers until manually launched with :LspStart (|lspconfig-commands|).

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.lsp.servers.bqnlsp.cmd

A list where each entry corresponds to the blankspace delimited part of the command that launches the server.

The first entry is the binary used to run the language server. Additional entries are passed as arguments.

Type: null or (list of string)

Default: null

Declared by:

plugins.lsp.servers.bqnlsp.extraOptions

Extra options for the bqnlsp language server.

Type: attribute set of anything

Default: { }

Declared by:

plugins.lsp.servers.bqnlsp.filetypes

Set of filetypes for which to attempt to resolve {root_dir}. May be empty, or server may specify a default value.

Type: null or (list of string)

Default: null

Declared by:

plugins.lsp.servers.bqnlsp.rootDir

A function (or function handle) which returns the root of the project used to determine if lspconfig should launch a new language server, or attach a previously launched server when you open a new buffer matching the filetype of the server.

Type: null or lua function string

Default: null

Plugin default: "nil"

Declared by:

plugins.lsp.servers.bqnlsp.settings

The settings for this LSP.

Type: attribute set of anything

Default: { }

Example:

{
  callback = {
    __raw = ''
      function()
        print('nixvim')
      end
    '';
  };
  foo_bar = 42;
  hostname = "localhost:8080";
}

Declared by: