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
Matt Sturgeon
cb3653a1a8
modules/lsp: select relevant fields in keymaps table
...
We only use `mode`, `key`, `action`, and `options`; so explicitly
inherit those.
This means we don't serialise attrs that aren't needed at runtime,
such as `lspBufAction`.
2025-09-30 17:01:17 +00:00
Matt Sturgeon
f421af99fe
modules/lsp: print keymaps table multiline
...
Makes `init.lua` easier to read.
Follow up to 9faa339d9e
2025-09-30 17:01:17 +00:00
Matt Sturgeon
4f858eb004
tests/modules/lsp: test lsp keymaps
...
Assert that the expected code is added to an autoCmd.
2025-09-30 17:01:17 +00:00
Matt Sturgeon
167ea865e5
modules/lsp: port packageFallback option from plugins.lsp
...
Added to `plugins.lsp` in 6a054de04d
2025-09-28 23:07:35 +00:00
Matt Sturgeon
a072e3c3a7
modules/lsp: enable servers."*" by default
2025-05-01 00:36:41 +01:00
Johan Larsson
eeae362038
modules/lsp: add enable = true to wildcard config section
2025-04-30 20:55:26 +01:00
Matt Sturgeon
21688b1d2a
modules/lsp/server: rename config -> settings
...
`config` is a loaded term within modules and options.
`settings` is the name usually used for freeform config in nixvim and
most other module configurations.
2025-04-30 17:35:46 +01:00
Gaetan Lepage
70c9b3b890
modules/lsp: init
...
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
2025-04-28 18:11:39 +02:00