nix-community.nixvim/plugins/nvim-lsp
traxys b1ba5f873e
lsp: add support for several LSP clients (#111)
* nvim-lsp: Allow to pass settings to clients

Some clients (like rust-analyzer, nil_ls, ...) can take settings
specified in the setup function. This commit adds two fields for the
'mkLsp' function to handle this:

- extraOptions: define nix module options
- settings: A function that takes the corresponding lsp module config
  and formats it as a settings object compatible with the server.

* nvim-lsp: Add nil-ls (for Nix)

* nvim-lsp: Add bashls (for Bash)

* nvim-lsp: Add dartls, for dart

Co-authored-by: Pedro Alves <pta2002@users.noreply.github.com>
2023-01-10 22:47:52 +00:00
..
basic-servers.nix lsp: add support for several LSP clients (#111) 2023-01-10 22:47:52 +00:00
default.nix lsp: add bufnr to passed argument (#82) 2022-12-05 02:49:37 +00:00
helpers.nix lsp: add support for several LSP clients (#111) 2023-01-10 22:47:52 +00:00
lsp-lines.nix lsp-lines: add currentLine option 2022-12-11 19:39:51 +00:00
lspsaga.nix nixvim: support standalone nixvim 2022-09-18 11:19:23 +01:00
trouble.nix fix: basic flake check should work now (#74) 2022-12-01 23:15:21 +00:00