Commit graph

138 commits

Author SHA1 Message Date
Gaetan Lepage
dadf9b192d plugins/efmls-configs: rename package nixfmt to nixfmt-classic 2024-04-09 10:42:58 +02:00
Gaetan Lepage
2c99cefa91 plugins/lsp: add nimls language server 2024-04-04 14:37:36 +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
Gaetan Lepage
2b2e9f962a plugins/lsp: add vhdl-ls 2024-03-25 22:46:02 +01:00
Gaetan Lepage
97131789ae plugins/lsp: add sqls language server 2024-03-23 14:17:50 +01:00
Alixinne
939530edca
plugins/lsp: add golangci-lint-ls (#1246) 2024-03-17 01:13:25 +01:00
Loïc Reynier
ab3a8a2840 plugins/trouble: switch to settingsOptions 2024-03-16 18:03:59 +01:00
Loïc Reynier
61ee0552c9 plugins/lsp: add fortls
Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
2024-03-12 22:46:54 +01:00
GoodGuyPat
9f9d9ac0b7
Removed rnix dependencies, as it has been deprecated (#1245) 2024-03-12 16:42:22 +01:00
traxys
8569b5c550
plugins/lsp: use attrsOf anything instead of attrs for extraOptions (#1235)
`attrs` is not merged correctly, this can introduce conflicts with
efmls-configs for example when trying to register `efm` sources not
defined by efmls-configs.
2024-03-09 00:04:05 +01:00
Nick Hu
ba5a0b84e1
plugins/lsp: add ocamllsp, the language server for OCaml (#1233) 2024-03-08 20:48:07 +01:00
Loïc Reynier
233feeb8d2
treewide: fix typos (#1217) 2024-03-07 19:44:13 +01:00
jonboh
e9564ac336 plugins/conform: add str type for formatAfterSave 2024-03-07 14:53:23 +01:00
Jake Hamilton
c4ae452396
feat: add option for customizing lsp capabilities (#1021) 2024-03-06 21:50:14 +01:00
Bodleum
ffe8978028
plugins/lsp: add slint_lsp (#1212)
* plugins/lsp: add slint_lsp

* plugins/lsp: slint-lsp: Fixed issue with dashes and underscores.
2024-03-06 16:47:48 +01:00
Gaetan Lepage
bb9d56087d plugins/efmls-configs: use php-codesniffer package instead of deprecated phpcbf 2024-02-28 09:30:26 +01:00
James Taranto
f53be2242e plugins/lsp: add typos-lsp 2024-02-21 10:03:46 +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
Richard Halford
2594863af7 plugin/nvim-lightbulb: update and switch to mkNeovimPlugin 2024-02-15 14:29:02 +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
7dbf7f978c plugins: do not import helpers.nix directly 2024-02-11 11:50:35 +01:00
DeviousStoat
e0926bc41b Use lspconfig name 2024-02-10 21:01:22 +01:00
DeviousStoat
c0a79d9da6 plugins/lsp: Add purescript-language-server lsp server 2024-02-10 21:01:22 +01:00
Gabriel Arazas
ff57525a64 plugins/lsp: add vala-language-server 2024-02-06 22:44:29 +01:00
Gaetan Lepage
2294a12b0b keymaps: use 'action.__raw' instead of 'lua = true' internally 2024-02-03 18:12:25 +01:00
Gaetan Lepage
90b07f5359 plugins/lsp: add helm-ls 2024-02-03 12:29:06 +01:00
Daniel Kahlenberg
079c03228c plugins/lsp: set correct name for the elixirls package 2024-02-02 11:43:44 +01:00
Gaetan Lepage
e2c3459d1d lib/helpers: extraOptionsOptions -> neovim-plugin.extraOptionsOptions 2024-01-28 23:39:14 +01:00
Gabriel Arazas
6b0f03e4a1 plugins: clean up module descriptions
Only for the `enable` option though.
2024-01-26 15:43:47 +01:00
traxys
97889e309d
plugins/lsp: Add lemminx (#975) 2024-01-25 16:00:55 +01:00
Gaetan Lepage
ef35aad4ec plugins/efmls-configs: prefix the warning to hint to efmls-configs 2024-01-22 13:41:54 +01:00
Gaetan Lepage
fb888e4942 plugins/lsp: use pkgs.lean4 for leanls
https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.txt#leanls
2024-01-22 13:41:54 +01:00
Gaetan Lepage
749a8a38c4 plugins/lsp: add htmx lsp 2024-01-12 23:39:32 +01:00
Gaetan Lepage
61da581315 plugins/lsp: add prolog-ls 2024-01-12 22:34:09 +01:00
siph
7d6c62833b plugins/lsp: add nushell language server 2024-01-11 08:30:18 +01:00
Coutinho de Souza
6645fea915
plugins/lsp: add beancount-language-server (#920) 2024-01-09 00:04:55 +01:00
Richard Halford
b0895fc9fa
plugins/lsp: add templ language server (#905)
* plugins/lsp: add templ language server

* plugins/templ: remove name attribute

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-01-06 16:14:54 +01:00
Hayden
a2c5bd3548
plugins/lsp: add dagger language server (for cuelang) (#890) 2024-01-05 15:25:40 +01:00
traxys
8aa4b7e4ce
helpers: Add option helpers for types that are either a lua str or a value (#876)
Those types needed the following code in apply:

if builtins.isString value
then mkRaw value
else value

This commit avoids this boilerplate, and clarifies that the `str` is lua
code in the documentation.
2024-01-02 00:30:10 +01:00
traxys
af41ea2d80
helpers: move rawType to helpers.nixvimTypes (#871)
This is done in preparation of adding new (lua) types to help the
documentation.
2024-01-01 23:33:53 +01:00
traxys
abd1c4007a
helpers: Add mkLua,mkLuaFn (defaultNullOpts or not) (#866)
This makes it such that defaultNullOpts.mkStr never represents a lua
string, easing documenting where a string is a lua string vs lua code.
2024-01-01 20:28:55 +01:00
Markus Lohmayer
2bcdcfafe5
plugins/lsp: add marksman language server (#867) 2023-12-31 21:32:33 +01:00
Glen
5fcfb763cd
plugins/lsp: add dhall-lsp-server (#860)
* lsp.servers: add dhall-lsp-server(dhall language)

tests: add dhall lsp server to tests

squash me

* Update plugins/lsp/language-servers/default.nix

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

* Update tests/test-sources/plugins/lsp/_lsp.nix

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

* Update plugins/lsp/language-servers/default.nix

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

---------

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
2023-12-30 23:26:50 +01:00
traxys
1d8e7906c9
plugins: Introduce helpers.defaultNullOpts.mkLuaFn (#855)
This allows to avoid calling `mkRaw` on lua functions, as they will get
applied automatically.

This could also help in the future to refactor the use of Lua code to
make it more user-friendly.
2023-12-29 15:24:42 +01:00
Gaetan Lepage
b38dbdb0dc plugins/fidget: adapt to latest rewrite of the plugin 2023-12-29 12:23:06 +01:00
Tilman Andre Mix
be87bb0fd6 lsp.servers: add ols (odin language)
Signed-off-by: Tilman Andre Mix <tilmanmixyz@proton.me>
2023-12-22 15:07:39 +01:00