aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home/soispha/conf/nvim/plgs/lsp/servers
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-23 13:31:11 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-23 13:33:40 +0200
commitfd9b0ecef4142a62b45404700ba1cff488f84a73 (patch)
treeef6c1f74f05a2220a41ccff4b0890c39229f32f7 /modules/home/soispha/conf/nvim/plgs/lsp/servers
parentrefactor(pkgs): Categorize into `by-name` shards (diff)
downloadnixos-config-fd9b0ecef4142a62b45404700ba1cff488f84a73.zip
refactor(modules/home): Setup as "normal" NixOS module
Diffstat (limited to 'modules/home/soispha/conf/nvim/plgs/lsp/servers')
-rw-r--r--modules/home/soispha/conf/nvim/plgs/lsp/servers/default.nix15
-rw-r--r--modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/bashls.nix5
-rw-r--r--modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/ccls.nix5
-rw-r--r--modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/ltex.nix39
-rw-r--r--modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/lua-ls.nix8
-rw-r--r--modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/nil_ls.nix10
-rw-r--r--modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/openscad.nix17
-rw-r--r--modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/pylyzer.nix12
-rw-r--r--modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/quick-lint-js.nix15
-rw-r--r--modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/ruff-lsp.nix10
-rw-r--r--modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/rust-analyzer.nix14
-rw-r--r--modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/texlab.nix7
12 files changed, 0 insertions, 157 deletions
diff --git a/modules/home/soispha/conf/nvim/plgs/lsp/servers/default.nix b/modules/home/soispha/conf/nvim/plgs/lsp/servers/default.nix
deleted file mode 100644
index 1f59ae4e..00000000
--- a/modules/home/soispha/conf/nvim/plgs/lsp/servers/default.nix
+++ /dev/null
@@ -1,15 +0,0 @@
-{...}: {
- imports = [
- # ./servers/pylyzer.nix
- ./servers/bashls.nix
- ./servers/ccls.nix
- ./servers/quick-lint-js.nix
- ./servers/ltex.nix
- ./servers/lua-ls.nix
- ./servers/nil_ls.nix
- ./servers/openscad.nix
- ./servers/ruff-lsp.nix
- ./servers/rust-analyzer.nix
- ./servers/texlab.nix
- ];
-}
diff --git a/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/bashls.nix b/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/bashls.nix
deleted file mode 100644
index 0577a335..00000000
--- a/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/bashls.nix
+++ /dev/null
@@ -1,5 +0,0 @@
-{...}: {
- programs.nixvim.plugins.lsp.servers = {
- bashls.enable = true;
- };
-}
diff --git a/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/ccls.nix b/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/ccls.nix
deleted file mode 100644
index 0698bcce..00000000
--- a/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/ccls.nix
+++ /dev/null
@@ -1,5 +0,0 @@
-{...}: {
- programs.nixvim.plugins.lsp.servers = {
- ccls.enable = true;
- };
-}
diff --git a/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/ltex.nix b/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/ltex.nix
deleted file mode 100644
index 3224bc41..00000000
--- a/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/ltex.nix
+++ /dev/null
@@ -1,39 +0,0 @@
-{...}: {
- programs.nixvim.plugins.lsp.servers = {
- ltex = let
- filetypes = [
- "java"
- "cpp"
- "shell"
- "bash"
-
- "bibtex"
- "context"
- "context.tex"
- "latex"
- "tex"
-
- "markdown"
- "org"
- "restructuredtext"
- "rsweave"
-
- "git-commit"
- "gitcommit"
-
- "mail"
- ];
- in {
- enable = true;
- inherit filetypes;
- settings = {
- enabled = filetypes;
- completionEnabled = false;
- language = "en-CA";
- additionalRules = {
- enablePickyRules = true;
- };
- };
- };
- };
-}
diff --git a/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/lua-ls.nix b/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/lua-ls.nix
deleted file mode 100644
index 5a44b500..00000000
--- a/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/lua-ls.nix
+++ /dev/null
@@ -1,8 +0,0 @@
-{...}: {
- programs.nixvim.plugins.lsp.servers = {
- lua-ls = {
- enable = true;
- settings.telemetry.enable = false;
- };
- };
-}
diff --git a/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/nil_ls.nix b/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/nil_ls.nix
deleted file mode 100644
index f0cccbdc..00000000
--- a/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/nil_ls.nix
+++ /dev/null
@@ -1,10 +0,0 @@
-{...}: {
- programs.nixvim.plugins.lsp.servers = {
- nil_ls = {
- enable = true;
- settings = {
- formatting.command = ["alejandra"];
- };
- };
- };
-}
diff --git a/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/openscad.nix b/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/openscad.nix
deleted file mode 100644
index a0221cc4..00000000
--- a/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/openscad.nix
+++ /dev/null
@@ -1,17 +0,0 @@
-{pkgs, ...}: {
- programs.nixvim = {
- extraConfigLuaPost =
- /*
- lua
- */
- ''
- require('lspconfig').openscad_lsp.setup{
- cmd = {"openscad-lsp", "--stdio", "--fmt-style", "WebKit"},
- }
- '';
- extraPackages = with pkgs; [
- openscad-lsp
- clang-tools # Need to satisfy `clang-format` (which is used by openscad-lsp)
- ];
- };
-}
diff --git a/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/pylyzer.nix b/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/pylyzer.nix
deleted file mode 100644
index b1042221..00000000
--- a/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/pylyzer.nix
+++ /dev/null
@@ -1,12 +0,0 @@
-{pkgs, ...}: {
- programs.nixvim = {
- extraConfigLuaPost =
- /*
- lua
- */
- ''
- require('lspconfig').pylyzer.setup{}
- '';
- extraPackages = with pkgs; [pylyzer];
- };
-}
diff --git a/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/quick-lint-js.nix b/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/quick-lint-js.nix
deleted file mode 100644
index 23c3054a..00000000
--- a/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/quick-lint-js.nix
+++ /dev/null
@@ -1,15 +0,0 @@
-{pkgs, ...}: {
- programs.nixvim = {
- extraConfigLuaPost =
- /*
- lua
- */
- ''
- require('lspconfig').quick_lint_js.setup{
- }
- '';
- extraPackages = with pkgs; [
- quick-lint-js
- ];
- };
-}
diff --git a/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/ruff-lsp.nix b/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/ruff-lsp.nix
deleted file mode 100644
index 3eeb495a..00000000
--- a/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/ruff-lsp.nix
+++ /dev/null
@@ -1,10 +0,0 @@
-{pkgs, ...}: {
- programs.nixvim = {
- plugins.lsp.servers = {
- ruff-lsp = {
- enable = true;
- };
- };
- extraPackages = with pkgs; [ruff];
- };
-}
diff --git a/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/rust-analyzer.nix b/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/rust-analyzer.nix
deleted file mode 100644
index d58c8f1b..00000000
--- a/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/rust-analyzer.nix
+++ /dev/null
@@ -1,14 +0,0 @@
-{...}: {
- programs.nixvim.plugins.lsp.servers = {
- rust-analyzer = {
- enable = true;
- settings = {
- typing.autoClosingAngleBrackets.enable = true;
- };
- # NOTE: These should be provided by the devenv, to support nightly and
- # such things <2023-11-25>
- installCargo = false;
- installRustc = false;
- };
- };
-}
diff --git a/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/texlab.nix b/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/texlab.nix
deleted file mode 100644
index 59af8d39..00000000
--- a/modules/home/soispha/conf/nvim/plgs/lsp/servers/servers/texlab.nix
+++ /dev/null
@@ -1,7 +0,0 @@
-{...}: {
- programs.nixvim.plugins.lsp.servers = {
- texlab = {
- enable = true;
- };
- };
-}