From bf2416b83c912c44294a722332f2dffb3f203db3 Mon Sep 17 00:00:00 2001 From: Soispha Peetz Date: Sat, 28 Nov 2026 23:56:08 +0100 Subject: nvim/plgs/lsp/ltex_plus: Also use the ltex-plus module --- .../plgs/lsp/servers/servers/ltex-plus/default.nix | 52 ++++++++++++++++++++++ .../nvim/plgs/lsp/servers/servers/ltex/default.nix | 51 --------------------- 2 files changed, 52 insertions(+), 51 deletions(-) create mode 100644 modules/by-name/nv/nvim/plgs/lsp/servers/servers/ltex-plus/default.nix delete mode 100644 modules/by-name/nv/nvim/plgs/lsp/servers/servers/ltex/default.nix (limited to 'modules/by-name') diff --git a/modules/by-name/nv/nvim/plgs/lsp/servers/servers/ltex-plus/default.nix b/modules/by-name/nv/nvim/plgs/lsp/servers/servers/ltex-plus/default.nix new file mode 100644 index 00000000..6bff0dde --- /dev/null +++ b/modules/by-name/nv/nvim/plgs/lsp/servers/servers/ltex-plus/default.nix @@ -0,0 +1,52 @@ +# nixos-config - My current NixOS configuration +# +# Copyright (C) 2025 Benedikt Peetz +# SPDX-License-Identifier: GPL-3.0-or-later +# +# This file is part of my nixos-config. +# +# You should have received a copy of the License along with this program. +# If not, see . +{pkgs, ...}: { + home-manager.users.soispha.programs.nixvim = { + plugins.lsp.servers = { + ltex_plus = let + filetypes = [ + "java" + "cpp" + "shell" + "bash" + + "bibtex" + "context" + "context.tex" + "latex" + "tex" + "typst" + + "markdown" + "org" + "restructuredtext" + "rsweave" + + "git-commit" + "gitcommit" + + "mail" + ]; + in { + enable = true; + package = pkgs.ltex-ls-plus; + inherit filetypes; + settings = { + enabled = filetypes; + completionEnabled = false; + language = "en-CA"; + additionalRules = { + enablePickyRules = true; + }; + }; + }; + }; + }; +} diff --git a/modules/by-name/nv/nvim/plgs/lsp/servers/servers/ltex/default.nix b/modules/by-name/nv/nvim/plgs/lsp/servers/servers/ltex/default.nix deleted file mode 100644 index 502ad696..00000000 --- a/modules/by-name/nv/nvim/plgs/lsp/servers/servers/ltex/default.nix +++ /dev/null @@ -1,51 +0,0 @@ -# nixos-config - My current NixOS configuration -# -# Copyright (C) 2025 Benedikt Peetz -# SPDX-License-Identifier: GPL-3.0-or-later -# -# This file is part of my nixos-config. -# -# You should have received a copy of the License along with this program. -# If not, see . -{pkgs, ...}: { - home-manager.users.soispha.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; - package = pkgs.ltex-ls-plus; - inherit filetypes; - settings = { - enabled = filetypes; - completionEnabled = false; - language = "en-CA"; - additionalRules = { - enablePickyRules = true; - }; - }; - }; - }; - }; -} -- cgit v1.3.1