Commit graph

235 commits

Author SHA1 Message Date
Matt Sturgeon
8815180c62
plugins/lsp: move related plugins to by-name 2024-09-09 11:50:39 +01:00
Gaetan Lepage
d50ee5dd2f plugins/lsp: add basedpyright 2024-09-09 00:11:35 +02:00
Matt Sturgeon
7409e80bd2
plugins: remove all uses of lib.nixvim.mkPluginPackageOption 2024-09-05 01:32:12 +01:00
Matt Sturgeon
37165453a9
plugins/lsp: use mkPackageOption for pylsp + rust-analyzer 2024-09-04 21:56:49 +01:00
Matt Sturgeon
2132702a47
plugins: use mkPackageOption for iconsPackage options 2024-09-04 21:56:48 +01:00
Matt Sturgeon
cdb2e79e51
lib/pkg-lists: move to common location
Extract the helper functions defined in `efmls-configs-pkgs` to a common
location where they can also be used by none-ls's package list.
2024-09-04 20:29:52 +01:00
Matt Sturgeon
a8a7e405f4
plugins/efmls: use mkPackageOption 2024-09-04 20:29:50 +01:00
Matt Sturgeon
2ef974182e
plugins/efmls: minor cleanup 2024-09-04 20:28:37 +01:00
Matt Sturgeon
9c11b54065
plugins/lsp/servers: use lib.mkPackageOption 2024-09-04 03:29:35 +01:00
Matt Sturgeon
1fd4b6c739
plugins: migrate defaultPackage -> package
Migrate all users of `mkVimPlugin` and `mkNeovimPlugin` to use the new
`package` argument instead of the old `defaultPackage` argument.
2024-09-04 03:29:34 +01:00
Matt Sturgeon
18b7597e6c
lib/neovim-plugin: drop config arg 2024-09-02 10:35:52 +01:00
Matt Sturgeon
2a054b039e
lib/vim-plugin: drop config arg
Instead, access it via an imported module
2024-09-02 10:33:50 +01:00
Florian Brandes
e05a9e45b3
plugins/lsp: update eslint package name
Due to https://github.com/NixOS/nixpkgs/pull/337888

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-08-31 21:06:05 +01:00
Austin Horstman
86d66e410a
plugins/lspsaga: use iconsPackage 2024-08-29 14:23:43 -05:00
Austin Horstman
150c5f454b
plugins/trouble: use iconsPackage 2024-08-29 11:06:15 -05:00
elythh
665680a5ca plugins/lint: fix conform incorrect option description 2024-08-26 21:02:12 +02:00
Austin Horstman
89b876dc0d
plugins/conform-nvim: migrate to mkNeovimPlugin 2024-08-24 12:24:15 -05:00
Austin Horstman
1e74f3deab
plugins/lsp: make lspOnAttach available globally
Allows plugins to utilize the global nixvim table to access the lsp on
attach function and prevent needing to filter attribute set or manage
the property explicitly in lua.
2024-08-24 11:50:06 -05:00
Austin Horstman
f62d77d3fa
plugins/lsp: python3Packages.ruff-lsp -> ruff-lsp fallback 2024-08-19 20:52:09 -05:00
Gaetan Lepage
b406575176
plugins/lsp/astro: remove unnecessary alternative package path
https://github.com/NixOS/nixpkgs/pull/333736
2024-08-19 20:42:00 -05:00
Matt Sturgeon
7fb1f9dd9d
modules/keymap: improve lua deprecation
- Replace nullable lua option with a no-default option.
- Made it so the deprecated option is only declared when `lua = true` is passed.
- Replace `normalizeMappings` with a `removeDeprecatedMapAttrs` helper.
- Added warnings for all options that historically had `lua` support.
2024-08-18 22:11:11 +01:00
Quentin Boyer
ad704ddba7 generated,rust-analyzer: Handle objects with defined properties
They are implemented as submodules instead of an attrset of anything
2024-08-12 18:53:57 +02:00
Gaetan Lepage
f13bdef0bc plugins/lsp/astro: fix package attribute path 2024-08-10 22:52:13 +02:00
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
7dcdd6e989
plugins/lsp-lines: switch to mkNeovimPlugin
Remove custom options in favor of using `diagnostics` directly.
2024-06-28 23:14:01 +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
darkdarcool
01aa3d469e
plugins/lsp: fix incorrect inlay_hint usage
The previous implementation used an outdated function signature, which
no longer works. Switched to the correct usage as-per the docs.
2024-06-13 13:46:53 +01: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