Commit graph

23 commits

Author SHA1 Message Date
darkdarcool
01aa3d469e
plugins/lsp: fix incorrect inlay_hint usage
The previous implementation used an outdated function signature, which
no longer works. Switched to the correct usage as-per the docs.
2024-06-13 13:46:53 +01:00
Matt Sturgeon
8a462dc957
plugins/lsp: fix inlayHints description
`mkEnableOption` adds an extra `.`, just use `mkOption` and be explicit.
2024-06-09 09:35:56 +01:00
Matt Sturgeon
4a22c35e6d
plugins/lsp: add inlay-hint option
`onAttach` code is based on [this comment](https://github.com/lvimuser/lsp-inlayhints.nvim/issues/46#issuecomment-1949916683).

Documented upstream at [`:h lsp-inlay_hint`](https://neovim.io/doc/user/lsp.html#lsp-inlay_hint)
2024-06-09 08:55:53 +01:00
Matt Sturgeon
61fa26c9e9
plugins/lsp: remove installLanguageServer assertion 2024-06-03 18:10:28 +01:00
Gaetan Lepage
4175fac0ea keymaps: remove remaining usages of deprecated lua option 2024-05-27 14:57:40 +02:00
traxys
62f32bfc71 treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
Daniel
052012d2d9 plugins/lsp: Improved docs for keymaps 2024-04-04 13:30:15 +02:00
Daniel
e229e3ad44 plugins/lsp: Reduce indent on attr set and use helpers.mkRaw 2024-04-04 13:30:15 +02:00
Daniel
03009d0b99 LSP: Register keymaps on LspAttach 2024-04-04 13:30:15 +02:00
GoodGuyPat
9f9d9ac0b7
Removed rnix dependencies, as it has been deprecated (#1245) 2024-03-12 16:42:22 +01:00
Nick Hu
ba5a0b84e1
plugins/lsp: add ocamllsp, the language server for OCaml (#1233) 2024-03-08 20:48:07 +01:00
Jake Hamilton
c4ae452396
feat: add option for customizing lsp capabilities (#1021) 2024-03-06 21:50:14 +01:00
James Taranto
361e2ec74b Revert "plugins/lsp: Add statix (#1105)"
This reverts commit b784e73ad3.
2024-02-17 12:12:52 +01:00
James Taranto
b784e73ad3
plugins/lsp: Add statix (#1105)
* plugins/lsp: Add statix

* plugins/lsp-config: remove redundant attribute

Default is already defined by name

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* plugins/lsp-config: Simplify description

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

---------

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
2024-02-16 10:50:43 +01:00
Lin Xianyi
1e4c4a0add
Fix documentation for deprecated installLanguageServer (#1096)
`plugins.lsp.servers.${serverName}.package` should be `null` instead of `false`
2024-02-15 08:57:47 +01:00
Gaetan Lepage
183eac72a9 plugins/lsp: deprecate installLanguageServer option in favor of setting package = null 2024-02-14 23:49:24 +01:00
Gaetan Lepage
2294a12b0b keymaps: use 'action.__raw' instead of 'lua = true' internally 2024-02-03 18:12:25 +01:00
Gaetan Lepage
3577c971e7 plugins/lsp: set enabledServers as an internal invisible option 2023-11-23 21:37:27 +01:00
Gaetan Lepage
b6724702b4 misc: refactor imports, prefer adding helpers to args rather than importing it 2023-11-06 16:33:39 +01:00
Gaetan Lepage
dd6a114e52 plugins/misc: adapt to new maps options 2023-10-02 15:23:54 +02:00
Gaetan Lepage
71c0b4cb59 plugins/nvim-lsp: let keymaps actions be attrs 2023-07-21 08:05:35 +02:00
Tanish2002
efdcbe225f perform some statix linting and fixes 2023-05-22 23:00:53 +02:00
Gaetan Lepage
859ae3a843 plugins/nvim-lsp: internal rename (nvim-lsp -> lsp) 2023-05-12 11:27:24 +02:00
Renamed from plugins/nvim-lsp/default.nix (Browse further)