sportshead
6a054de04d
plugins/lsp: add packageFallback option
...
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
Documentation / Build unstable (push) Waiting to run
Documentation / Build 24.11 (push) Waiting to run
Documentation / Build 25.05 (push) Waiting to run
Documentation / Combine builds (push) Blocked by required conditions
Documentation / Deploy (push) Blocked by required conditions
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
Matt Sturgeon
3c9af6191e
plugins/efmls: move eslint
pkg ref to top-level
...
Fixes #2168
2024-09-13 10:08:08 -05:00
Gaetan Lepage
d50ee5dd2f
plugins/lsp: add basedpyright
2024-09-09 00:11:35 +02:00
Matt Sturgeon
7409e80bd2
plugins: remove all uses of lib.nixvim.mkPluginPackageOption
2024-09-05 01:32:12 +01:00
Matt Sturgeon
37165453a9
plugins/lsp: use mkPackageOption
for pylsp + rust-analyzer
2024-09-04 21:56:49 +01:00
Matt Sturgeon
cdb2e79e51
lib/pkg-lists: move to common location
...
Extract the helper functions defined in `efmls-configs-pkgs` to a common
location where they can also be used by none-ls's package list.
2024-09-04 20:29:52 +01:00
Matt Sturgeon
a8a7e405f4
plugins/efmls: use mkPackageOption
2024-09-04 20:29:50 +01:00
Matt Sturgeon
2ef974182e
plugins/efmls: minor cleanup
2024-09-04 20:28:37 +01:00
Matt Sturgeon
9c11b54065
plugins/lsp/servers: use lib.mkPackageOption
2024-09-04 03:29:35 +01:00
Florian Brandes
e05a9e45b3
plugins/lsp: update eslint
package name
...
Due to https://github.com/NixOS/nixpkgs/pull/337888
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-08-31 21:06:05 +01:00
Austin Horstman
f62d77d3fa
plugins/lsp: python3Packages.ruff-lsp -> ruff-lsp fallback
2024-08-19 20:52:09 -05:00
Gaetan Lepage
b406575176
plugins/lsp/astro: remove unnecessary alternative package path
...
https://github.com/NixOS/nixpkgs/pull/333736
2024-08-19 20:42:00 -05:00
Quentin Boyer
ad704ddba7
generated,rust-analyzer: Handle objects with defined properties
...
They are implemented as submodules instead of an attrset of anything
2024-08-12 18:53:57 +02:00