Commit graph

1816 commits

Author SHA1 Message Date
Gaetan Lepage
9a252f9040 plugins/lsp/lsp-packages: mark laravel_ls as unpackaged 2025-05-24 14:56:48 +02:00
Heitor Augusto
6ef96cb478
plugins/copilot-chat: add curl dependency 2025-05-18 15:27:42 -03:00
Heitor Augusto
928fc1a16f
plugins/copilot-chat: helpers -> lib.nixvim 2025-05-18 15:26:09 -03:00
Heitor Augusto
68dd111eb3
plugins/copilot-chat: remove with lib 2025-05-18 15:23:31 -03:00
Heitor Augusto
5474f9a33f
plugins/copilot-lua: add nodejs dependency and remove nodePackage option 2025-05-17 20:28:20 -03:00
Heitor Augusto
284ce8043b
plugins/copilot-lua: add curl dependency 2025-05-17 20:28:11 -03:00
Heitor Augusto
1deeb7f689
plugins/lsp: add package for luau_lsp 2025-05-17 12:32:21 -03:00
FKouhai
1c53ad9b2f
plugins/timerly: init 2025-05-13 23:50:02 +02:00
Jalil David Salamé Messina
69266437be
plugins/hunk: init
Add support for [hunk.nvim][1], a plugin for splitting diffs.

Also add myself as a maintainer for it.

[1]: https://github.com/julienvincent/hunk.nvim
2025-05-12 08:42:08 +02:00
Matt Sturgeon
1b1e43a36e
plugins/oil-git-status: set signcolumn sane default 2025-05-09 21:23:21 +01:00
Matt Sturgeon
17e13d478d
plugins/oil-git-status: improve signcolumn warning
The warning should trigger when a valid value is configured that
restricts the sign column to less than 2 columns.
2025-05-09 21:23:06 +01:00
Matt Sturgeon
2797fd8b64
plugins/oil-git-status: update signcolumn instructions
See:

- https://github.com/refractalize/oil-git-status.nvim#configuration
- https://neovim.io/doc/user/options.html#'signcolumn'
2025-05-09 19:26:36 +01:00
Matt Sturgeon
3556951d36
plugins/oil-git-status: fix whitespace in desc 2025-05-09 19:12:43 +01:00
Alison Jenkins
2d485ca1a2
colorschemes/bamboo: init 2025-05-09 08:20:57 +01:00
Heitor Augusto
a6eda59091 plugins/lz-n: update references to options
Update the extraConfig function to access settings through opts parameter
instead of direct import. Also remove the unused options import for cleaner code.
2025-05-09 01:14:36 +01:00
Heitor Augusto
b1cfeb4f34 plugins/lz-n: add support for keymap(<plugin>).set API
Add a new `keymaps` option to the lz-n plugin that allows users to define
keymaps that use lz.n's keymap(<plugin>).set functionality. This enables
users to create keymaps that lazy-load plugins when specific keys are pressed,
using the familiar vim.keymap.set() API style.

The implementation:
- Adds a new `keymaps` option using mkMapOptionSubmodule with a custom plugin property
- Exposes a simple and consistent interface for configuring lazy-loaded keymaps
- Processes these keymaps to generate corresponding Lua code with require('lz.n').keymap().set()
- Cleanly separates plugin specs from keymap definitions while preserving their relationship
2025-05-09 01:14:36 +01:00
Heitor Augusto
bb2e1acf70 plugins/lz-n: add HeitorAugustoLN as a maintainer 2025-05-09 01:14:36 +01:00
Heitor Augusto
a9938e06ae plugins/lz-n: remove with lib 2025-05-09 01:14:36 +01:00
FKouhai
aa1ae69b57
plugins/oil-git-status: init 2025-05-09 00:19:09 +02:00
Austin Horstman
cca235aacf plugins/dap-view: init module 2025-05-08 13:35:47 -05:00
Austin Horstman
324801b226 plugins/whitespace: init module 2025-05-08 13:33:11 -05:00
Austin Horstman
1158bb13f2 plugins/visual-whitespace: init module 2025-05-08 13:32:52 -05:00
Austin Horstman
0754cdc51d flake-modules/new-plugin: sync with plugins/TEMPLATE.nix 2025-05-08 13:04:38 -05:00
Matt Sturgeon
10f899d669
plugins/lsp: correct motivation for onAttach alias impl
Previously I said we alias the definitions instead of the value to allow
`mkOrder` to work correctly. That is incorrect, as order-priorities are
already sorted in `<opt>.definitions`.

The actual reason to use the definitions instead of the final value is
to avoid inf-recursion. The "from" option's `apply` function would read
the "to" option's value, which is defined based on the "from" option's
value, which is set by the "from" option's apply function...

For a one-way binding, `mkDerivedConfig` is best. For a two-way binding,
`mkAliasAndWrapDefsWithPriority` is necessary.
2025-05-08 15:51:18 +01:00
Austin Horstman
52c68b4da4 plugins/claude-code: add claude-code dependency 2025-05-08 10:35:31 +02:00
Austin Horstman
b17c801f2e plugins/claude-code: init module 2025-05-08 10:35:31 +02:00
Matt Sturgeon
5c52e8f9e4
plugins.lsp: alias onAttach to new lsp.onAttach
This simplifies the impl by doing global on-attach logic in a
`LspAttach` autocmd instead of adding lua lines to each server's
individual `on_attach` callback.

This is effectively a `mkAliasOptionModule` alias, other than the alias
only being applied when `plugins.lsp.enable`.
2025-05-07 14:51:45 +01:00
Matt Sturgeon
c26f5c2e31 plugins/lsp-format: use lsp.onAttach instead of an autoCmd 2025-05-06 14:08:03 +01:00
Jeremy Fleischman
64cd675ece
Port lsp-format to use non-deprecated setup instructions
Upstream still documents the now-deprecated
`require("lspconfig").<name>.setup` mechanism. I believe the modern
alternative is to register a `LspAttach` autocmd. For more context, see:

- https://github.com/lukas-reineke/lsp-format.nvim/issues/98
- https://github.com/lukas-reineke/lsp-format.nvim/pull/99
2025-05-05 14:13:25 -07:00
Gaetan Lepage
ce5d708018 plugins/blink-copilot: Mention in the description that copilot-lua is enabled by default 2025-05-05 22:11:17 +10:00
FKouhai
7d18194a22 colorschemes/kanagawa-paper: init 2025-05-04 20:42:00 +01:00
Gaetan Lepage
c978122396 plugins/lf: use nestedLiteralLua in settingsExample 2025-05-04 00:03:37 +02:00
Benedikt Peetz
8fcd7f1a92 plugins/lf: init 2025-05-03 22:58:16 +01:00
Johan Larsson
8b3107ad6f plugins/clangd-extensions: adapt to new lsp module
Adapt warnings, default settings, and tests to the new lsp module. Also
change the previous warning, which I think should target the clangd
server directly, and just not `plugins.lsp`, since the clangd server is
necessary for clangd-extensions to function.
2025-05-03 17:21:30 +01:00
Johan Larsson
8523385bd8
plugins/schemastore: adapt to new lsp module
Modify warnings, tests, and default settings to work with the new lsp
module.

Update plugins/by-name/schemastore/default.nix

Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>

Update plugins/by-name/schemastore/default.nix

Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
2025-05-03 09:43:04 +02:00
Johan Larsson
4b27678512 plugins/iron: init
Update plugins/by-name/iron/default.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
2025-05-02 23:25:40 +02:00
Gaetan Lepage
98644a34ab plugins/origami: init 2025-05-02 13:52:22 +02:00
Gaetan Lepage
cd30817b21 plugins/tiny-inline-diagnostic: init 2025-05-02 01:48:26 +02:00
Gaetan Lepage
6297f4c01a plugins/vimade: init 2025-05-01 00:40:14 +02:00
Gaetan Lepage
913a3521ab plugins/ident-tools: init 2025-04-30 22:49:38 +02:00
Matt Sturgeon
1df98b6636
modules/diagnostic: rename diagnostic.config -> diagnostic.settings
Follow up to #3226, in line with the decisions made in #3254.
2025-04-30 18:31:17 +01:00
Gaetan Lepage
405a564f3d plugins/actions-preview: init 2025-04-30 19:14:35 +02:00
Matt Sturgeon
e34eaf8395
modules/lsp/server: declare package defaults
Convert the `attrsOf (servers.nix)` option to a freeform submodule.

Declare a `servers.nix` option for each lsp server listed in
`lsp-packages.nix` that has a known nixpkgs package.
2025-04-30 16:53:55 +01:00
Gaetan Lepage
276abde288 plugins/peek: init 2025-04-30 16:27:29 +02:00
Gaetan Lepage
944a316881 plugins/goto-preview: init 2025-04-29 13:52:09 +02:00
Gaetan Lepage
19528509e5 plugins/dial: init 2025-04-29 00:48:55 +02:00
Heitor Augusto
bf276f5223
plugins/lspconfig: add HeitorAugustoLN as a maintainer 2025-04-28 15:09:18 -03:00
Matt Sturgeon
556eb29548
plugins/lspconfig: init
A simplified replacement for `plugins.lsp`.

Eventually, once the `lsp` and `plugins.lspconfig` modules are mature,
`plugins.lsp` will be deprecated and/or aliased.
2025-04-28 18:54:04 +01:00
Gaetan Lepage
9e0d2e4bed plugins/lsp: rename lua scope to nvim-lspconfig 2025-04-28 18:11:39 +02:00
Stanislav Asunkin
775e4d8856 plugins/luasnip: remove redundant jsregexp dependency
This dependency is already handled by nixpkgs.
2025-04-28 18:06:13 +03:00