saygo-png
b35e6830e0
plugins/lsp/tinymist: fix type in settings declaration
...
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-11-03 22:03:08 +00:00
Gaetan Lepage
ecb75f49d1
lib/options (mkSettingsOption): allow more types for settingsOption when no sub-options are explicitly declared
2025-10-24 10:28:17 +00:00
saygo-png
c89994b0ac
treewide: generate JSON instead of Nix
...
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-10-19 00:31:33 +00:00
Matt Sturgeon
9f336d2d71
modules/lsp: rename server settings → config
...
See RFC: https://github.com/nix-community/nixvim/issues/3745
This effectively reverts 21688b1d2a
2025-10-09 15:31:01 +00:00
Jeremy Fleischman
8fcf8a9ef1
plugins/lsp/vue_ls: add a tslsIntegration option
...
This new `plugins.lsp.servers.vue_ls.tslsIntegration` is a shameless
copy of of pre-existing `plugins.lsp.servers.volar.tslsIntegration`
option.
Full disclosure: I have not tested this as I use the newer `lsp` module.
I'm not sure if this fixes
https://github.com/nix-community/nixvim/issues/3600 , but it's a least
part of it.
2025-10-04 18:11:20 +00:00
Matt Sturgeon
b9c5a75cc6
ci/nvim-lspconfig: migrate to the new API
...
This is nearly a full rewrite of the lspconfig-servers update-script,
migrating it to the new `lsp/` directory system and simplifying where
possible.
- plugins/lsp: adapt to new file format
- flake/locate-lsp-packages: update for new lspconfig file format
- generated: Updated lspconfig-servers.json
2025-10-03 20:29:49 +00:00
Matt Sturgeon
96c9775a5f
plugins/lsp/volar: handle null package with ts_ls integration
...
The ts_ls integration needs to call `getBin cfg.package`, so the package
cannot be null.
Adds an assertion.
2025-10-03 19:34:03 +00:00
Matt Sturgeon
5c4a10093d
plugins.lsp: automatically remove unsupported servers
...
A new update script will check which "old" files do not have an
equivalent "new" file, then the plugins.lsp module will create a
removal assertion for any servers that are listed in the generated
file.
2025-10-02 00:04:30 +00:00
Matt Sturgeon
94331cc50d
plugins/lsp: use the new lsp module under the hood
...
- Re-implement setup wrapping and capabilities to preserve existing
behaviour
- Alias `package` options to new lsp module
- Alias `packageFallback` options to new lsp module
- Alias `preConfig` and `postConfig` to `lsp.luaConfig`
2025-09-30 20:16:00 +00:00
Matt Sturgeon
1c802b3efe
plugins/lsp: simplify extraSettings deprecation
2025-09-28 23:24:22 +00:00
Zexin Yuan
e03ede7138
plugins/lsp: fix volar tsls integration location
2025-08-23 02:23:13 +00:00
Gaetan Lepage
8529f1c86b
treewide: format with new treefmt
2025-07-25 16:18:00 +00:00
sportshead
6a054de04d
plugins/lsp: add packageFallback option
...
https://github.com/nix-community/nixvim/pull/3445#pullrequestreview-2908615597
2025-06-16 17:19:27 +00: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
7e6038a69a
modules/dependencies: add go
2025-04-11 08:51:45 +10:00
Gaetan Lepage
72365ae5a1
plugins/lsp: skip failing pylsp test
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
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
Matt Sturgeon
796ace65f7
plugins/lsp: set a defaultText for cmd
2025-01-25 19:16:08 +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
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
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
Gaetan Lepage
cb0e3a7e40
plugins/efmls-configs: add new formatter kdlfmt to unpackaged
2024-11-30 17:37:42 +01:00
Matt Sturgeon
7b94afceaf
plugins: cleanup most extraConfig args
...
- Remove `cfg` where it is unused.
- Use `opts` where necessary.
2024-11-20 20:55:16 +00:00
Matt Sturgeon
63cfc84abe
lib/modules: add applyExtraConfig
...
Used for
- mkVimPlugin: extraConfig
- mkNeovimPlugin: extraConfig
- mkLsp: extraConfig
- mkLsp: settings
- mkExtension (telecsope): extraConfig
2024-11-20 20:55:16 +00:00
traxys
c674f10d18
plugins/lsp: Correctly mark servers as disabled if the lsp plugin is disabled
2024-11-19 12:07:42 +01:00
traxys
31eb9d8d75
plugins/lsp: Fix extra config of lsp servers
2024-11-19 12:07:42 +01:00
Katherine Jamison
aabbd60633
plugins/lsp: enable auto-installing rustfmt
2024-11-07 13:03:42 -07:00
Gaetan Lepage
f98e11b5c3
tests/efmls-configs: sql-formatter has been moved to top-level
2024-11-03 16:04:19 +01:00
Austin Horstman
876ca32451
plugins/rust-tools: remove with lib and helpers
2024-10-23 10:57:45 -05:00
Austin Horstman
b5ead146c8
lsp/efmls-configs-pkgs: add new efmls packages
2024-10-18 20:36:11 -05:00
Gaetan Lepage
619e24366e
plugins/lsp/hls: handle automatic installation of required GHC
2024-10-13 14:33:12 +00:00
Matt Sturgeon
88302aa17a
plugins/lsp: use a no-default option when there is no default provided
2024-10-10 20:25:03 +01:00
Matt Sturgeon
0d2751b53c
tests/generated: validate declared lsp packages
2024-10-10 18:13:54 +01:00
Quentin Boyer
8e8d9afe8e
plugins/lsp: Use the auto-generated lsp plugin list
2024-10-08 21:29:43 +02:00
Sandro
6594472fd2
Resolve aliases
2024-10-05 18:27:59 +02:00
mitchmindtree
ae2b9bd445
plugins/idris2: init
...
Adds the `idris2` neovim plugin.
Also changes `idris2-lsp` to enable this new `idris2` plugin when
enabled, as it's required for `idris2-lsp` to work at all.
2024-09-27 14:27:54 +00:00
Matt Sturgeon
2f49c76a6a
lib: remove nixvimTypes alias
2024-09-27 08:31:07 +01:00
Austin Horstman
2bc6a94992
plugins/lsp/ts_ls: add pluginDefault filetypes
2024-09-21 15:33:31 -05:00
Austin Horstman
a8ab73432a
plugins/lsp/volar: add ts-ls integration
2024-09-21 15:32:58 -05:00
Austin Horstman
2df1bdd14d
plugins/lsp/gopls: add goPackage
2024-09-19 08:25:44 -05:00
tsssni
2e3083e425
plugins/lsp: rename tsserver to ts-ls
2024-09-16 23:58:44 +08:00
Ughur Alakbarov
57219622b8
typo
2024-09-15 12:18:13 +02:00
Austin Horstman
da1a10d0f3
plugins/efmls: use efmLangServerPackage option
2024-09-14 19:23:53 -05:00
mitchmindtree
e170e4b598
plugins/lsp/idris2-lsp: init
2024-09-14 16:38:15 +00:00
Sefa Eyeoglu
0b665b200b
plugins/lsp/harper-ls: init
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-09-13 18:16:20 +02:00