spellcheck (not working)

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-06-29 21:55:26 +02:00
parent 708efdefb8
commit 368f3a25fd

View File

@@ -1,4 +1,4 @@
{ pkgs, pkgs-unstable, rice, ... }:
{ pkgs, pkgs-unstable,lib, rice, ... }:
{
home = {
packages = with pkgs; [
@@ -7,6 +7,8 @@
python311Packages.python-lsp-server
lldb # debugger for llvm stuff
yaml-language-server # yaml
marksman # markdown
vale-ls # spellckecker lsp (needs vale)
] ++ (with pkgs-unstable; [
helix
]);
@@ -57,9 +59,19 @@
C-g = [":new" ":insert-output lazygit" ":buffer-close!" ":redraw"];
};
};
languages.language = [{
name = "nix";
}];
languages = {
language = [
{
name = "latex";
language-servers = ["texlab" "spsdfsellchek"];
}
];
language-server = {
spellcheck = {
command = lib.getExe pkgs.vale-ls;
};
};
};
themes = {
base16 = with rice.color; {
"attributes" = foreground;
@@ -80,13 +92,13 @@
"function" = secondary.bright;
"hint" = tertiary.bright;
"info" = foreground;
"keyword" = secondary.base;
"keyword" = special.base;
"label" = foreground;
"namespace" = weird.bright;
"operator" = foreground;
"special" = special.base;
"string" = secondary.bright;
"type" = red.dark;
"type" = red.base;
"variable" = accent.base;
"variableother.member" = foreground;
"warning" = red.base;
@@ -210,7 +222,8 @@
"fg" = black.bright;
};
"ui.virtual.inlay-hint" = {
"fg" = black.bright;
"fg" = weird.bright;
"bg" = weird.dark;
};
"ui.virtual.ruler" = {
"bg" = background;