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
Gaetan Lepage
9e0d2e4bed
plugins/lsp: rename lua scope to nvim-lspconfig
2025-04-28 18:11:39 +02: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
8d8a856896
plugins/lsp: remove unused internal enabledServers.*.capabilities option
2025-04-26 21:52:14 +02: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
Austin Horstman
ca5145cdb6
plugins/lsp-packages: add unpackaged
2025-04-20 07:55:12 +10:00
Gaetan Lepage
7e6038a69a
modules/dependencies: add go
2025-04-11 08:51:45 +10:00
Gaetan Lepage
5908b5a737
plugins/lsp: register pkgs.vectorcode for vectorcode_server
2025-04-06 10:32:48 +02:00
github-actions[bot]
3f73a301d6
generated: Updated lspconfig-servers.json
2025-04-01 16:03:03 +02:00
Gaetan Lepage
8176b3f52e
plugins/lsp/packages: remove qml_lsp
...
https://github.com/neovim/nvim-lspconfig/pull/3647
2025-03-22 12:13:24 +00:00
Gaetan Lepage
9bdc870ff7
plugins/lsp/packages: add muon
...
https://github.com/neovim/nvim-lspconfig/pull/3646
2025-03-22 12:13:24 +00:00
Yifei Sun
f78adb0918
plugins/lsp: enable dolmenls and ocamllsp
2025-03-18 20:44:33 -04:00
Gaetan Lepage
c15e93c157
plugins/lsp/packages: mark coqPackages.{coq-lsp,vscoq-language-server} as unpackaged
2025-03-19 00:51:22 +01:00
Gaetan Lepage
e8025891b2
plugins/lsp/packages: mark graphql as unpackaged
2025-03-19 00:51:22 +01:00
Gaetan Lepage
b8f8d4c81b
plugins/lsp/packages: mark dts_lsp and wasm_language_tools as unpackaged
2025-03-19 00:51:22 +01:00
Gaetan Lepage
2a3cf1bd55
plugins/lsp: marked scry as unpackaged
2025-03-19 00:51:22 +01:00
Gaetan Lepage
72365ae5a1
plugins/lsp: skip failing pylsp test
2025-03-19 00:51:22 +01:00
github-actions[bot]
32c63161d7
generated: Update
...
- Updated lspconfig-servers.json
- Updated rust-analyzer.nix
2025-03-19 00:51:22 +01:00
Quentin Boyer
a2f01876f7
lib: Harmonize package options which may not exist in nixpkgs
2025-01-31 22:55:38 +00:00
Gaetan Lepage
d997bec044
plugins/lsp: add oxlint package
2025-01-30 17:43:51 +01:00
Gaetan Lepage
e908e344f4
treewide: use boolean comparison to simplify the code base
2025-01-29 18:04:00 +01:00
Gaetan Lepage
12e658eca8
treewide: use mkWarnings where possible
2025-01-29 15:57:14 +01:00
Gaetan Lepage
63d9bb0d77
plugins/lsp: mark typst_lsp as unpackaged as the package has been removed from nixpkgs
...
https://github.com/NixOS/nixpkgs/pull/376698
2025-01-26 18:05:03 +01:00
Matt Sturgeon
796ace65f7
plugins/lsp: set a defaultText
for cmd
2025-01-25 19:16:08 +00:00
Gaetan Lepage
c289e10a0f
plugins/lsp: update packages
2025-01-22 17:04:20 +00:00
Austin Horstman
5a980d02fa
plugins/lsp: add atlas and cue
2025-01-22 17:04:20 +00:00
Heitor Augusto
e59e99314b
plugins/lsp: add support for mode in non-extra keymaps
2025-01-06 22:20:32 +00:00
Heitor Augusto
a74897d033
mkLsp: remove with lib;
2025-01-06 22:20:32 +00:00
Heitor Augusto
5201bb2f6f
mkLsp: helpers
-> lib.nixvim
2025-01-06 22:20:32 +00:00
Heitor Augusto
48eeef58e1
plugins/lsp: migrate to mkNeovimPlugin
2025-01-06 22:20:31 +00:00
Gaetan Lepage
1753c4a5d2
plugins/lsp: mark autohotkey_lsp as unpackaged
2024-12-31 11:18:42 +01:00
Matt Sturgeon
896f6be694
lib/plugins: take ownership of modules
utils
...
These util functions were previously defined in `modules`, but
`plugins.utils` is a better home.
2024-12-22 09:35:16 +00:00
Gaetan Lepage
ec24d496d5
treewide (cleaning): helpers.toLuaObject -> lib.nixvim.toLuaObject
2024-12-15 21:55:51 +00:00
Quentin Boyer
a9578bcae5
plugins/lsp: Add some LSP servers
2024-12-15 20:39:12 +01:00
Austin Horstman
99a2827f7c
plugins/lsp: add ltex_plus to unpackaged
2024-12-14 17:35:56 -06:00
Gaetan Lepage
e6018ac195
plugins/lsp: modernize implem of language-servers
2024-12-14 23:04:25 +00:00
Gaetan Lepage
94535b24a2
plugins/lsp: fix tinymist implementation and update options
2024-12-14 18:20:47 +00:00
Gaetan Lepage
09daa2cb83
plugins/efmls-configs: move from lsp to by-name
2024-12-14 15:20:11 +01:00
Yury Shvedov
3c6dd42ff8
plugin/lsp: simplify automatic keymap description
...
Do not create description prefix generically, but use extra argument for
`mkMaps`.
Change-Id: Id08297623edf750d8f33eb031748668be0c8bfa5
2024-12-02 09:45:07 +03:00
Yury Shvedov
d867aaea43
plugin/lsp: automatic keymap description
...
Add keymaps default descriptions for lsp buf and diagnostics
Change-Id: I7a48ef3760e530a738efd7036b7ae5722c054256
2024-12-02 09:43:43 +03:00
Gaetan Lepage
838829c8f9
lsp/keymaps: cosmetic implem changes
2024-12-02 01:22:22 +01:00
Gaetan Lepage
cb0e3a7e40
plugins/efmls-configs: add new formatter kdlfmt to unpackaged
2024-11-30 17:37:42 +01:00
Matt Sturgeon
8b19d15482
plugins/lsp: fix enabledServers.extraOptions
type merging
...
Use `attrsOf` instead of `attrs` to ensure recursive merging, otherwise
things like `extraOptions.settings = lib.mkIf` will not be unwrapped by
the module system.
2024-11-26 13:57:40 +00:00