Commit graph

163 commits

Author SHA1 Message Date
alxdb
fab51138b7 plugins/lsp/bufls: init 2024-08-08 23:29:39 +01:00
Matt Sturgeon
a8eceddd07
plugins/lsp/efmls: remove unused tool declarations 2024-07-31 11:40:07 +01:00
Ughur Alakbarov
ee89f7437b
typo 2024-07-30 18:26:30 +02:00
Thomas Stachl
2415edc0cb
plugins/lsp/nextls: init 2024-07-29 07:47:28 +02:00
Noah Thornton
162ae6354b plugins/lsp/jdtls: add Eclipse JDT language server for Java
This adds the Eclipse JDT language server for Java.
2024-07-26 10:57:25 -07:00
Gaetan Lepage
ac50052a49 plugins/lsp/pylsp: remove useless dependency for pylsp-rope 2024-07-25 17:04:22 +00:00
Antonín Říha
ab67ee7e8b plugins/lsp/openscad-lsp: init
Signed-off-by: Antonín Říha <antonin.riha@protonmail.com>
2024-07-24 00:04:05 +02:00
Gaetan Lepage
10cc58d497 plugins/lsp/pylsp: propagatedBuildInputs -> dependencies 2024-07-23 23:21:01 +02:00
Stanislav Asunkin
06261fc472 modules/lsp/servers/vls: do not add filetype extension if not enabled 2024-07-21 20:17:03 +02:00
Sandro Jäckel
8a4dc239d6 plugins/{lsp,none-ls}: remove package aliases 2024-07-19 18:39:01 +02:00
traxys
99f272d8c7 plugigns/efmls-configs: Use the generated source files 2024-07-05 16:57:03 +02:00
traxys
c1231826b9 dev: Add a script to generate efmls-configs tools 2024-07-05 16:57:03 +02:00
traxys
954876bef7 plugins/lsp/rust-analyzer: Use the newly generated options 2024-07-05 13:34:44 +02:00
traxys
8b6b2e5253 dev: Add a script to generate rust-analyzer options 2024-07-05 13:34:44 +02:00
purepani
079c2c479b plugins/lsp/pylsp: Add python option to generate obtain the pylsp from.
Currently, pkgs.python3Packges is used by default and is unable to be
changed. This stops consumers from using different/newer python
versions.
2024-07-01 19:58:20 +01:00
Matt Sturgeon
0f07201a0c
plugins/lsp: normalize plugin defaults 2024-06-21 08:49:08 +01:00
Gaetan Lepage
f5de31debc pugins/lsp/rust-analyzer: temporarily remove rust-analyzer settings options declarations 2024-06-18 11:38:52 +02:00
Gaetan Lepage
8609ea3ce4 plugins/lsp/bashls: set correct package 2024-06-18 11:38:52 +02:00
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