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
Matt Sturgeon
3ea2ce7ff6
Revert "plugins/lsp: use vim.lsp native API"
...
This reverts commit 78f6ff0369
.
From PR https://github.com/nix-community/nixvim/pull/3204
2025-04-28 13:08:48 +01:00
Gaetan Lepage
836994b8bc
plugins/telescope/extensions: use mkExtension's dependencies parameter
2025-04-28 02:04:15 +02:00
Gaetan Lepage
436fd243cf
plugins/telescope: add dependencies parameter for mkExtension
2025-04-28 02:04:15 +02:00
Gaetan Lepage
1a64636839
plugins: use mk{Neovim,Vim}Plugin's dependencies parameter
2025-04-28 02:04:13 +02:00
Gaetan Lepage
89c94d9ea7
plugins/telescope/media-files: use the top-level dependencies option
2025-04-27 11:28:18 +02:00
Gaetan Lepage
0a301a428a
plugins/telescope/media-files: remove old rename warnings
2025-04-27 10:03:31 +02:00
Gaetan Lepage
8d8a856896
plugins/lsp: remove unused internal enabledServers.*.capabilities option
2025-04-26 21:52:14 +02:00
Matt Sturgeon
6c73350557
modules/diagnostic: rename diagnostics
-> diagnostic.config
...
Currently we represent `vim.diagnostic.config()` as a top-level
`diagnostics` option. This means we have no clear namespace for
(e.g.) `vim.diagnostic.<action>` keymap functions.
2025-04-26 20:09:23 +01:00
Matt Sturgeon
c3a42a7ac4
plugins/lsp: remove standalonePlugins
default
...
We don't need to add `plugins.lsp` to
`performance.combinePlugins.standalonePlugins`
now that `/lsp` is included in `pathsToLink`.
2025-04-26 19:55:38 +01:00
Gaetan Lepage
f0ec773869
plugins/lsp: simplify implementation of per-server capabilities
2025-04-27 04:40:24 +10:00
Gaetan Lepage
2e559d3c3a
plugins/lsp: simplify implementation of inlayHints
2025-04-26 19:35:31 +02:00
Matt Sturgeon
b72ba2e4e2
plugins/lsp/servers: replace rootDir
with rootMarkers
...
nvim-lspconfig historically used `root_dir`, along with util functions
like `root_pattern`.
Now that neovim's own LSP API is used, `root_dir` appears to be subtly
different and `root_markers` is introduced to replace `util.root_pattern`.
Since we cannot easily warn about the `root_dir` differences, it can
usually be replaced with `root_markers`, and can still be manually
configured via `extraOptions` if needed; the simplest approach here is
to remove the `rootDir` option.
2025-04-25 16:04:38 +01:00
Gaetan Lepage
b56177333d
plugins/lsp: mark ruff_lsp as unpackaged
2025-04-24 12:48:41 +02:00
Gaetan Lepage
3c37b39a7b
plugins/lsp: add package for just-lsp
2025-04-24 12:48:41 +02:00
Gaetan Lepage
78f6ff0369
plugins/lsp: use vim.lsp native API
2025-04-23 15:36:09 +02:00
Gaetan Lepage
e91333ae56
plugins/lsp: remove string support for plugins.lsp.enabledServers elements
2025-04-23 09:54:47 +02:00
Gaetan Lepage
70a9a0d4c1
plugins/none-ls: add package for opentofu_validate
2025-04-22 12:16:02 +00:00
Matt Sturgeon
86a887025f
contributing: reduce emphasis on settingsOptions
...
- Add an additional caution in CONTRIBUTING.md#declaring-plugin-options
- Remove `settingsOptions` from plugins/TEMPLATE.nix
2025-04-21 10:04:38 +01:00
Gaetan Lepage
490bb4e2bd
plugins/lilypond-suite: init
2025-04-20 23:59:36 +02:00
Austin Horstman
ca5145cdb6
plugins/lsp-packages: add unpackaged
2025-04-20 07:55:12 +10:00
Austin Horstman
cf141c07a8
plugins/deprecations: move codeium enable option renames to top level deprecations
...
Causes our checks to fail to have the rename alias done in the module
themselves..
2025-04-20 07:55:12 +10:00
Austin Horstman
7f4efe62e0
plugins/windsurf-vim: rename codeium-vim
...
Rename plugin, use new packpathname, and update deprecations to point
from old name to new name.
2025-04-20 07:55:12 +10:00
Austin Horstman
1971ec5b2b
plugins/windsurf-nvim: rename codeium-nvim
...
Rename plugin, use new packpathname, and update deprecations to point
from old name to new name.
2025-04-20 07:55:12 +10:00
0x5a4
85c99eaeba
plugins/spider: include luautf8
2025-04-19 19:18:03 +02:00
Timur Gruzdev
500b56f023
Typo fix at blink-cmp
2025-04-17 09:29:25 +02:00