Commit graph

7 commits

Author SHA1 Message Date
Gaétan Lepage
264de8cefb
added formatter + reformat existing codebase (#175) 2023-02-20 10:42:13 +00:00
traxys
374fccae9e
nvim-lsp: Put the settings options in the settings namespace (#137)
This is done to avoid mixing setting options and LSP setup options.
2023-01-23 13:52:46 +00:00
Alexander Nortung
2180675750
lsp: added packageoption to basic lsp servers (#61)
* nvim-lsp: added package options for basic servers

* nvim-lsp: updated package options

* nvim-lsp: added cmd to plugins that share dependency
2023-01-19 10:36:56 +00:00
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
Pedro Alves
c7b561b40c lsp: fix elixir lsp 2022-10-22 15:45:03 +01:00
Pedro Alves
4ddd3969e5
nixvim: support standalone nixvim
This represents a major rearchitecture for nixvim, so I'm leaving this up to track the progress for now, and to serve as a reference for any breaking changes during transition.

The main change is, of course, being able to use nixvim standalone. To do this, you should use the new build function, which takes in two arguments: the system architecture (e.g. x86_64-linux) and the configuration. For the new configuration, do not use the programs.nixvim. prefix.

For module development, the main change is that you should no longer prefix your modules with programs.nixvim..
2022-09-18 11:19:23 +01:00
Alexander Nortung
d40a8b99f3
Refactor language servers and add eslint, jsonls, cssls and html servers. (#28)
* nvim-lsp: refactor of basic language servers

* nvim-lsp: added html, css, json and eslint language servers

* nvim-lsp: added gdscript lsp

* nvim-lsp: added vuels
2022-07-28 20:37:49 +01:00