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