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
Matt Sturgeon
8a462dc957
plugins/lsp: fix inlayHints description
...
`mkEnableOption` adds an extra `.`, just use `mkOption` and be explicit.
2024-06-09 09:35:56 +01:00
Matt Sturgeon
4a22c35e6d
plugins/lsp: add inlay-hint option
...
`onAttach` code is based on [this comment](https://github.com/lvimuser/lsp-inlayhints.nvim/issues/46#issuecomment-1949916683 ).
Documented upstream at [`:h lsp-inlay_hint`](https://neovim.io/doc/user/lsp.html#lsp-inlay_hint )
2024-06-09 08:55:53 +01:00
Matt Sturgeon
2ce578e35f
docs/lsp: Show LSP server homepage URLs
...
Using `meta.nixvimInfo`
2024-06-07 22:22:56 +01:00
Matt Sturgeon
302262304e
lib/keymaps: refactor mkMapOptionSubmodule
again
...
Allow passing in `key` and `action` as either bool or an attrset.
If `false`, the option is omitted. If `true` or an attrset, the option is included.
If an attrset is used, it will update the default `mkOption` args.
This is useful for overriding `type` or adding an `example`.
2024-06-07 15:42:54 +01:00
Gaetan Lepage
74a6731226
plugins/schemastore: init
2024-06-06 10:53:41 +02: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
Matt Sturgeon
61fa26c9e9
plugins/lsp: remove installLanguageServer
assertion
2024-06-03 18:10:28 +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