mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-29 06:18:45 +02:00
treewide: Reformat with nixfmt
This commit is contained in:
parent
c6281260dc
commit
62f32bfc71
459 changed files with 28139 additions and 26377 deletions
|
@ -1,4 +1,5 @@
|
|||
{pkgs, ...}: {
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
empty = {
|
||||
plugins.lsp.enable = true;
|
||||
};
|
||||
|
@ -74,12 +75,12 @@
|
|||
ruff-lsp = {
|
||||
enable = true;
|
||||
extraOptions = {
|
||||
init_options.settings.args = ["--config=/path/to/config.toml"];
|
||||
init_options.settings.args = [ "--config=/path/to/config.toml" ];
|
||||
};
|
||||
};
|
||||
pylsp = {
|
||||
enable = true;
|
||||
filetypes = ["python"];
|
||||
filetypes = [ "python" ];
|
||||
autostart = false;
|
||||
};
|
||||
# rootDir
|
||||
|
@ -95,116 +96,116 @@
|
|||
|
||||
all-servers =
|
||||
pkgs.lib.optionalAttrs
|
||||
# This fails on darwin
|
||||
# See https://github.com/NixOS/nix/issues/4119
|
||||
(!pkgs.stdenv.isDarwin)
|
||||
{
|
||||
plugins.lsp = {
|
||||
enable = true;
|
||||
# This fails on darwin
|
||||
# See https://github.com/NixOS/nix/issues/4119
|
||||
(!pkgs.stdenv.isDarwin)
|
||||
{
|
||||
plugins.lsp = {
|
||||
enable = true;
|
||||
|
||||
servers = {
|
||||
ansiblels.enable = true;
|
||||
ast-grep.enable = true;
|
||||
astro.enable = true;
|
||||
bashls.enable = true;
|
||||
beancount.enable = true;
|
||||
biome.enable = true;
|
||||
ccls.enable = true;
|
||||
clangd.enable = true;
|
||||
clojure-lsp.enable = true;
|
||||
cmake.enable = true;
|
||||
csharp-ls.enable = true;
|
||||
cssls.enable = true;
|
||||
dagger.enable = true;
|
||||
dartls.enable = true;
|
||||
denols.enable = true;
|
||||
dhall-lsp-server.enable = true;
|
||||
digestif.enable = true;
|
||||
docker-compose-language-service.enable = true;
|
||||
dockerls.enable = true;
|
||||
efm.enable = true;
|
||||
elmls.enable = true;
|
||||
emmet_ls.enable = true;
|
||||
eslint.enable = true;
|
||||
elixirls.enable = true;
|
||||
fortls.enable = true;
|
||||
# pkgs.fsautocomplete only supports linux platforms
|
||||
fsautocomplete.enable = pkgs.stdenv.isLinux;
|
||||
futhark-lsp.enable = true;
|
||||
gleam.enable = true;
|
||||
gopls.enable = true;
|
||||
golangci-lint-ls.enable = true;
|
||||
graphql.enable = true;
|
||||
helm-ls.enable = true;
|
||||
hls.enable = true;
|
||||
html.enable = true;
|
||||
htmx.enable = true;
|
||||
java-language-server.enable = true;
|
||||
jsonls.enable = true;
|
||||
julials.enable = true;
|
||||
kotlin-language-server.enable = true;
|
||||
leanls.enable = true;
|
||||
lemminx.enable = true;
|
||||
lexical.enable = true;
|
||||
ltex.enable = true;
|
||||
lua-ls.enable = true;
|
||||
marksman.enable = true;
|
||||
metals.enable = true;
|
||||
nginx-language-server.enable = true;
|
||||
nil_ls.enable = true;
|
||||
nimls.enable = true;
|
||||
nixd.enable = true;
|
||||
nushell.enable = true;
|
||||
ocamllsp.enable = true;
|
||||
ols.enable =
|
||||
# ols is not supported on aarch64-linux
|
||||
(pkgs.stdenv.hostPlatform.system != "aarch64-linux")
|
||||
# As of 2024-01-04, ols is broken on darwin
|
||||
servers = {
|
||||
ansiblels.enable = true;
|
||||
ast-grep.enable = true;
|
||||
astro.enable = true;
|
||||
bashls.enable = true;
|
||||
beancount.enable = true;
|
||||
biome.enable = true;
|
||||
ccls.enable = true;
|
||||
clangd.enable = true;
|
||||
clojure-lsp.enable = true;
|
||||
cmake.enable = true;
|
||||
csharp-ls.enable = true;
|
||||
cssls.enable = true;
|
||||
dagger.enable = true;
|
||||
dartls.enable = true;
|
||||
denols.enable = true;
|
||||
dhall-lsp-server.enable = true;
|
||||
digestif.enable = true;
|
||||
docker-compose-language-service.enable = true;
|
||||
dockerls.enable = true;
|
||||
efm.enable = true;
|
||||
elmls.enable = true;
|
||||
emmet_ls.enable = true;
|
||||
eslint.enable = true;
|
||||
elixirls.enable = true;
|
||||
fortls.enable = true;
|
||||
# pkgs.fsautocomplete only supports linux platforms
|
||||
fsautocomplete.enable = pkgs.stdenv.isLinux;
|
||||
futhark-lsp.enable = true;
|
||||
gleam.enable = true;
|
||||
gopls.enable = true;
|
||||
golangci-lint-ls.enable = true;
|
||||
graphql.enable = true;
|
||||
helm-ls.enable = true;
|
||||
hls.enable = true;
|
||||
html.enable = true;
|
||||
htmx.enable = true;
|
||||
java-language-server.enable = true;
|
||||
jsonls.enable = true;
|
||||
julials.enable = true;
|
||||
kotlin-language-server.enable = true;
|
||||
leanls.enable = true;
|
||||
lemminx.enable = true;
|
||||
lexical.enable = true;
|
||||
ltex.enable = true;
|
||||
lua-ls.enable = true;
|
||||
marksman.enable = true;
|
||||
metals.enable = true;
|
||||
nginx-language-server.enable = true;
|
||||
nil_ls.enable = true;
|
||||
nimls.enable = true;
|
||||
nixd.enable = true;
|
||||
nushell.enable = true;
|
||||
ocamllsp.enable = true;
|
||||
ols.enable =
|
||||
# ols is not supported on aarch64-linux
|
||||
(pkgs.stdenv.hostPlatform.system != "aarch64-linux")
|
||||
# As of 2024-01-04, ols is broken on darwin
|
||||
# TODO: re-enable this test when fixed
|
||||
&& !pkgs.stdenv.isDarwin;
|
||||
# As of 2024-03-05, omnisharp-roslyn is broken on darwin
|
||||
# TODO: re-enable this test when fixed
|
||||
&& !pkgs.stdenv.isDarwin;
|
||||
# As of 2024-03-05, omnisharp-roslyn is broken on darwin
|
||||
# TODO: re-enable this test when fixed
|
||||
omnisharp.enable = !pkgs.stdenv.isDarwin;
|
||||
perlpls.enable = true;
|
||||
pest_ls.enable = true;
|
||||
prismals.enable = true;
|
||||
prolog-ls.enable = true;
|
||||
purescriptls.enable = true;
|
||||
pylsp.enable = true;
|
||||
pylyzer.enable = true;
|
||||
pyright.enable = true;
|
||||
ruff.enable = true;
|
||||
ruff-lsp.enable = true;
|
||||
rust-analyzer = {
|
||||
enable = true;
|
||||
installCargo = true;
|
||||
installRustc = true;
|
||||
omnisharp.enable = !pkgs.stdenv.isDarwin;
|
||||
perlpls.enable = true;
|
||||
pest_ls.enable = true;
|
||||
prismals.enable = true;
|
||||
prolog-ls.enable = true;
|
||||
purescriptls.enable = true;
|
||||
pylsp.enable = true;
|
||||
pylyzer.enable = true;
|
||||
pyright.enable = true;
|
||||
ruff.enable = true;
|
||||
ruff-lsp.enable = true;
|
||||
rust-analyzer = {
|
||||
enable = true;
|
||||
installCargo = true;
|
||||
installRustc = true;
|
||||
};
|
||||
slint-lsp.enable = true;
|
||||
solargraph.enable = true;
|
||||
# As of 2024-03-11, sourcekit-lsp is broken on aarch64
|
||||
# TODO: re-enable this test when fixed
|
||||
sourcekit.enable = !pkgs.stdenv.isAarch64;
|
||||
sqls.enable = true;
|
||||
svelte.enable = true;
|
||||
tailwindcss.enable = true;
|
||||
taplo.enable = true;
|
||||
templ.enable = true;
|
||||
terraformls.enable = true;
|
||||
texlab.enable = true;
|
||||
tinymist.enable = true;
|
||||
tsserver.enable = true;
|
||||
typos-lsp.enable = true;
|
||||
typst-lsp.enable = true;
|
||||
# As of 2024-04-03, pkgs.vala-language-server is broken on linux
|
||||
# TODO: re-enable this test when fixed
|
||||
vala-ls.enable = !pkgs.stdenv.isLinux;
|
||||
vhdl-ls.enable = true;
|
||||
vls.enable = true;
|
||||
vuels.enable = true;
|
||||
yamlls.enable = true;
|
||||
zls.enable = true;
|
||||
};
|
||||
slint-lsp.enable = true;
|
||||
solargraph.enable = true;
|
||||
# As of 2024-03-11, sourcekit-lsp is broken on aarch64
|
||||
# TODO: re-enable this test when fixed
|
||||
sourcekit.enable = !pkgs.stdenv.isAarch64;
|
||||
sqls.enable = true;
|
||||
svelte.enable = true;
|
||||
tailwindcss.enable = true;
|
||||
taplo.enable = true;
|
||||
templ.enable = true;
|
||||
terraformls.enable = true;
|
||||
texlab.enable = true;
|
||||
tinymist.enable = true;
|
||||
tsserver.enable = true;
|
||||
typos-lsp.enable = true;
|
||||
typst-lsp.enable = true;
|
||||
# As of 2024-04-03, pkgs.vala-language-server is broken on linux
|
||||
# TODO: re-enable this test when fixed
|
||||
vala-ls.enable = !pkgs.stdenv.isLinux;
|
||||
vhdl-ls.enable = true;
|
||||
vls.enable = true;
|
||||
vuels.enable = true;
|
||||
yamlls.enable = true;
|
||||
zls.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue