From 6a7cd29f94aabfd0c4a87f09a22c77abfe89daaa Mon Sep 17 00:00:00 2001 From: Ethan Reece Date: Wed, 9 Jul 2025 20:05:46 -0500 Subject: [PATCH] Add words to ltex-ls dictionary --- README.md | 2 +- flake.nix | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1c92b08..cd152aa 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,6 @@ This repository has the Nix home-manager configuration for my laptop, allowing m - **`flake-parts`** - Makes the Flake modular and reusable - **`sops`** - Encrypts secrets - **`treefmt`** (with Helix integration) - Automatically formats this repository when modifying it, with features to check the flake for formatting consistency -- **Language Server Protocol (LSP)** - Has language servers for file formats used in this repository; integrates with Helix text editor +- **Language Server Protocol (LSP)** - Has language servers for file formats used in this repository; integrates with Helix text editor and fully managed by Nix - **AI** - Uses Nix home-manager integrations for Codex and `aichat` for querying Large Language Models (LLMs) in the CLI and in Git repositories - **Language tools** - Checks for grammatical and styling issues using Vale, Harper, LTeX, and Typos diff --git a/flake.nix b/flake.nix index c736593..8571511 100644 --- a/flake.nix +++ b/flake.nix @@ -140,6 +140,15 @@ language-server = { ltex-ls-plus = { command = "${pkgs.ltex-ls-plus}/bin/ltex-ls-plus"; + config = { + ltex.dictionary = { + en-US = [ + "Asahi" + "LLMs" + "LTeX" + ]; + }; + }; }; marksman = { command = "${pkgs.marksman}/bin/marksman";