Commit graph

1109 commits

Author SHA1 Message Date
Matt Sturgeon
48f1e30bf7
plugins/colorschemes: normalize plugin defaults 2024-06-21 08:45:30 +01:00
Matt Sturgeon
d57cbd867a
plugins/bufferlines: normalize plugin defaults 2024-06-21 08:45:30 +01:00
Gaetan Lepage
0e93a59567 Revert "plugins/neotest/adapters/playwright: temporarily enable telescope when this adapter is used"
This reverts commit 34d75943ed.
2024-06-18 21:45:16 +02:00
Gaetan Lepage
9ed3538685 plugins/cmp-tabby: switch to RFC-42 style 2024-06-18 20:19:14 +02: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
5755ff0958
plugins/sniprun: switch to mkNeovimPlugin 2024-06-17 21:27:17 +01:00
Gaetan Lepage
b822078ec1 plugins/ts-autotag: switch to mkNeovimPlugin 2024-06-17 11:02:51 +02:00
Matt Sturgeon
7087b6014d
plugins/cmp-git: general cleanup of options
- Replace all pre-formatted plugin defaults
- Move several options to `strLuaFn`
- Refactored "action" options to use a `mkAction` helper
- Fix some incorrect examples/tests
- Remove undocumented `filter_fn` from settings example
2024-06-17 09:04:50 +01:00
Matt Sturgeon
130a66bce7
plugins/ltex-extra: minor options cleanup
- Remove stringified default values
- Use an enum for log levels
- Remove adding package (done by mkNeovimPlugin)
2024-06-17 08:51:33 +01:00
Gaetan Lepage
3834c4e0db plugins/cmp: add cmp_ai source 2024-06-14 16:25:00 +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
6e979dbe94
plugins/barbar: switch from mkDesc to pluginDefaultText 2024-06-14 10:49:06 +01:00
Matt Sturgeon
44cd01b253
plugins/edgy: switch from mkDesc to pluginDefault 2024-06-14 10:49:05 +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
Michael Thomas
db93efffdb plugins/toggleterm: allow lua functions in float_opts keys which support them 2024-06-14 09:05:24 +02: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
Matt Sturgeon
4ab2b289b6
plugins/none-ls: more compatible gdtoolkit fix
Nixpkgs renamed to gdtoolkit_3 & _4 without maintaining an alias!
Out of sync lock files could be using either attr name...
2024-06-13 13:43:43 +01:00
svl
cc9023fb1d plugins/languages/lint: allow irregular linters
setting `linters.markdownlint-cli.cmd` would genenrate

before:
`linters.markdownlint-cli.cmd` resulting in an error.

after:
`linters["markdownlint-cli"]["cmd"]`
2024-06-12 16:25:02 +02:00
Gaetan Lepage
34d75943ed plugins/neotest/adapters/playwright: temporarily enable telescope when this adapter is used
https://github.com/NixOS/nixpkgs/pull/319314
2024-06-12 15:04:09 +02:00
Gaetan Lepage
4edfed1075 plugins/none-ls: add package association for xmllint 2024-06-12 15:04:09 +02:00
Gaetan Lepage
d777475e69 plugins/none-ls: add package association for opentofu_fmt 2024-06-12 15:04:09 +02:00
Drewry Pope
ca7db4316d plugins/none-ls: update gdtoolkit to gdtoolkit_4 2024-06-12 15:04:09 +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
Gaetan Lepage
9d0960b986 plugins/specs: switch to mkNeovimPlugin 2024-06-11 08:12:09 +02:00
Gaetan Lepage
5361e42828 plugins/specs: move source files to the ui folder 2024-06-11 08:12:09 +02: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
Gaetan Lepage
70088f6f89 plugins/wakatime: init 2024-06-08 22:38:46 +02:00
Cezary Drożak
e8a05261d5
plugins/luasnip: add SnipMate loader 2024-06-08 20:56:17 +01:00
Sizhe Zhao
dedb1f8593 plugins/nvim-cmp: don't specify default twice 2024-06-08 12:29:25 +02:00
Jake Hamilton
552e8b0a85
plugins/dashboard: add additional examples 2024-06-07 23:39:28 +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
94a452074f
plugins/tmux-navigator: add keymaps option
Enable users to more easily create keymaps for tmux-navigator's
directional motions.
2024-06-07 15:42:54 +01:00
Matt Sturgeon
4634c3781b
plugins/tmux-navigator: remove old deprecations 2024-06-07 15:42:54 +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
Matt Sturgeon
f530700ccd
plugins/dashboard: switch to mkNeovimPlugin + update options
Note: the plugin has had a breaking change since the last time we
checked.
2024-06-05 18:13:31 +01:00
Beaudan Brown
cfff48c267
plugins/lsp: add r_language_server 2024-06-04 18:34:23 +01:00
Petr Portnov | PROgrm_JARvis
afc98b291d
fix(hmts): correct error message on no treesitter 2024-06-04 16:48:13 +03: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
34d56c712e plugins/barbar: add keymaps.* options for missing actions
Co-authored-by: Ismaïl Senhaji <134528+iSma@users.noreply.github.com>
2024-06-03 00:25:46 +02:00