feat: add basf to typos lsp allowlist

Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
Lander Van den Bulcke 2025-10-22 15:22:47 +02:00
parent 25262c7a9c
commit e6de7136ce
Signed by: lander
GPG key ID: 0142722B4B0C536F

View file

@ -1,4 +1,9 @@
{ config, lib, ... }: {
config,
lib,
pkgs,
...
}:
let let
inherit (config.myvim.mkKey) mkKeymap; inherit (config.myvim.mkKey) mkKeymap;
in in
@ -36,7 +41,18 @@ in
servers = { servers = {
typos_lsp = { typos_lsp = {
enable = true; enable = true;
extraOptions.init_options.diagnosticSeverity = "Hint"; extraOptions.init_options = {
diagnosticSeverity = "Hint";
config = pkgs.writeTextFile {
name = "typos-config.toml";
text = # toml
''
[default.extend-words]
basf = "basf"
BASF = "BASF"
'';
};
};
}; };
}; };