lsp/presets/tombi: init

This commit is contained in:
Snoweuph 2026-04-11 13:30:20 +02:00
commit 03f948e41e
No known key found for this signature in database
GPG key ID: BEFC41DA223CEC55
2 changed files with 25 additions and 0 deletions

View file

@ -5,6 +5,7 @@
./lemminx.nix
./taplo.nix
./tinymist.nix
./tombi.nix
./twig-language-server.nix
./typescript-go.nix
./typescript-language-server.nix

View file

@ -0,0 +1,24 @@
{
config,
lib,
pkgs,
...
}: let
inherit (lib.meta) getExe;
inherit (lib.modules) mkIf;
inherit (lib.options) mkEnableOption;
cfg = config.vim.lsp.presets.tombi;
in {
options.vim.lsp.presets.tombi = {
enable = mkEnableOption "the Tombi Language Server (AI Slop)";
};
config = mkIf cfg.enable {
vim.lsp.servers.tombi = {
enable = true;
cmd = [(getExe pkgs.tombi) "lsp"];
root_markers = [".git" "tombi.toml"];
};
};
}