Commit graph

195 commits

Author SHA1 Message Date
Matt Sturgeon
5cec79e59f
lib/options: migrate defaultNullOpts to use pluginDefault
Rename all instances where the plugin default argument is named
`default` to `pluginDefault` to avoid conflict.
2024-06-14 12:25:06 +01:00
Matt Sturgeon
eb5c090e90
plugins/lsp/tflint: init 2024-06-14 09:46:32 +01:00
Matt Sturgeon
ea5078fc10
plugins/lsp/jsonnet-ls: init 2024-06-14 09:31:12 +01:00
Théophane Hufschmitt
80c03843e7 plugins/lsp: add nickel-ls
Add `nls`, the official language server for the Nickel language.

https://github.com/tweag/nickel/
2024-06-13 16:48:56 +02:00
Gaetan Lepage
7a2d065cce misc: ensure all options have a description 2024-06-11 11:34:10 +02:00
Matt Sturgeon
3be9db71c2
plugins/lsp/nixd: add "diagnostic" options
Used to suppress unwanted hints/warnings.
2024-06-11 09:22:58 +01:00
Matt Sturgeon
893b28779d
plugins/lsp/nixd: remove pre-formatted string default 2024-06-11 09:22:58 +01:00
Matt Sturgeon
2ce578e35f
docs/lsp: Show LSP server homepage URLs
Using `meta.nixvimInfo`
2024-06-07 22:22:56 +01:00
Beaudan Brown
cfff48c267
plugins/lsp: add r_language_server 2024-06-04 18:34:23 +01:00
Matt Sturgeon
b7a8b03190
plugins/lsp: normalise kebab-case-names 2024-06-03 20:56:37 +01:00
Matt Sturgeon
0a24327632
plugins/lsp: automatically add serverName alias
A warning will be printed if the `serverName` alias is used, which may
help new users to figure out the correct `plugins.lsp.servers.*` name.
2024-06-03 20:56:37 +01:00
Gaetan Lepage
4b05fde873 plugins/lsp/efmls-configs: simplify implementation 2024-06-03 17:16:46 +02:00
Gaetan Lepage
dafada6d25 plugins/lsp/efmls-configs: cosmetic-only refactoring 2024-06-03 09:40:33 +02:00
Gaetan Lepage
513b3c76e2 plugins/lsp/nil_ls: refactor options 2024-06-02 23:50:43 +02:00
Matt Sturgeon
d136c08f3a
plugins: normalise null plugin-defaults
Replaced all instances of `"null"` with `null`, when passing
plugin-defaults to `defaultNullOpts` functions.
2024-06-02 03:18:10 +01:00
Gaetan Lepage
e58380adcd plugins/lsp/ltex: refactoring of the settings options 2024-06-01 22:44:52 +02:00
Gaetan Lepage
7c3ae8c718 plugins/lsp/lua-ls: refactor settings options 2024-06-01 19:06:02 +02:00
Gaetan Lepage
adf7bb1301 plugins/lsp/lua-ls: remove useless if/else for default package 2024-06-01 19:06:02 +02:00
Gaetan Lepage
1bbd58b6b2 plugins/lsp: add ruby-lsp 2024-05-31 22:40:43 +02:00
Gaetan Lepage
da9bd1f2e8 plugins/efmls-configs: add typstyle formatter 2024-05-30 16:56:47 +02:00
Matt Sturgeon
ff1ab1700c
lib/options: mkEnum quote default if string
As there's only a handful of call-sites to fix, ensure all `mkEnum`
defaults are passed in as the correct type (tree wide) and change
`mkEnum` to now correctly render string-type defaults "quoted" (like
`mkString` does).
2024-05-30 14:27:37 +01:00
Austin Horstman
ba293d3640 plugins/lsp/language-servers/nil_ls: improve settings options 2024-05-26 23:33:17 +02:00
Gaetan Lepage
546b4b029d
plugins/jsonls: add settings option 2024-05-25 22:26:50 +01:00
Gaetan Lepage
f3e2a064a1
plugins/yamlls: add settings option 2024-05-25 22:26:50 +01:00
Gaetan Lepage
26367692da lib/options: rename mkPackageOption to mkPluginPackageOption 2024-05-17 22:15:47 +02:00
Gaetan Lepage
d844ac1a06 plugins/lsp/tinymist: add settings options 2024-05-17 09:36:12 +02:00
Gaetan Lepage
6be28a941b plugins/lsp/nixd: refactor 2024-05-15 23:13:33 +02:00
Gaetan Lepage
f14aa756ba plugins/lsp/vls: inline options and config in language-servers/default.nix 2024-05-15 23:13:33 +02:00
Gaetan Lepage
e97755be47 plugins/lsp/language-servers: add extraOptions argument to mkLsp 2024-05-15 23:13:33 +02:00
Gaetan Lepage
2705ce0ec6 plugins/lsp/language-servers: harmless refactor 2024-05-15 08:44:25 +02:00
traxys
908932b53c plugins/nixd: Adapt to new options
Note that due to the structure of the code we can't introduce
deprecation warnings, it results in:

  cannot find attribute `plugins.lsp.servers.nixd.settings.XXX`
2024-05-12 19:27:25 +02:00
traxys
62f32bfc71 treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
Gaetan Lepage
20aea5cd7a plugins/lsp: move dartls options in a dedicated file 2024-05-03 11:11:51 +02:00
Gaetan Lepage
bf23dfdb0f plugins/lsp: add nginx-language-server 2024-04-29 09:43:58 +02:00
Gaetan Lepage
b12d81c69a plugins/lsp: add ast-grep language server 2024-04-29 07:36:37 +02:00
Austin Horstman
0fc190144f plugins/lsp/ccls: fix initOptions 2024-04-26 16:43:38 +02:00
Gaetan Lepage
83a7ce9846 plugins/lsp: add ruff language server 2024-04-19 14:39:41 +02:00
Gaetan Lepage
987c204b49 plugins/lsp: add docker-compose-language-service language server 2024-04-16 18:06:46 +02:00
RTUnreal
a88a282a11 plugins/lsp/pylsp: replace "--replace" to remove warnings 2024-04-14 09:19:29 +00:00
Daniel
f1df154834 plugins/lsp: Add tinymist language server 2024-04-09 18:26:51 +02:00
Gaetan Lepage
512ac70ec9 plugins/lsp: add lexical language server 2024-04-09 11:38:59 +02:00
Gaetan Lepage
e1b7b4e52d plugins/lsp/pylsp: fix python-lsp-server derivation 2024-04-09 10:42:58 +02:00
Gaetan Lepage
dadf9b192d plugins/efmls-configs: rename package nixfmt to nixfmt-classic 2024-04-09 10:42:58 +02:00
Gaetan Lepage
2c99cefa91 plugins/lsp: add nimls language server 2024-04-04 14:37:36 +02:00
Gaetan Lepage
2b2e9f962a plugins/lsp: add vhdl-ls 2024-03-25 22:46:02 +01:00
Gaetan Lepage
97131789ae plugins/lsp: add sqls language server 2024-03-23 14:17:50 +01:00
Alixinne
939530edca
plugins/lsp: add golangci-lint-ls (#1246) 2024-03-17 01:13:25 +01:00
Loïc Reynier
61ee0552c9 plugins/lsp: add fortls
Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
2024-03-12 22:46:54 +01:00
GoodGuyPat
9f9d9ac0b7
Removed rnix dependencies, as it has been deprecated (#1245) 2024-03-12 16:42:22 +01:00
Nick Hu
ba5a0b84e1
plugins/lsp: add ocamllsp, the language server for OCaml (#1233) 2024-03-08 20:48:07 +01:00