feat(nvim): make TypeScript language server configurable
check / lint (push) Successful in 15s

This commit is contained in:
hektor committed 2026-11-03 23:16:39 +01:00
1 parent 9ca112c61a
commit f5b654af54
3 files changed
+58 -42

No files matched your search

+13 -3
View File
@@ -13,9 +13,18 @@ in
{
imports = [ inputs.nvim.homeModules.default ];
options.nvim.colorscheme = lib.mkOption {
type = lib.types.enum (lib.attrNames themes);
default = "zenwritten";
options.nvim = {
colorscheme = lib.mkOption {
type = lib.types.enum (lib.attrNames themes);
default = "zenwritten";
};
typescriptServer = lib.mkOption {
default = "ts_ls";
type = lib.types.enum [
"ts_ls"
"vtsls"
];
};
};
config = lib.mkIf config.nvim.enable {
@@ -23,6 +32,7 @@ in
categories = {
colorscheme = config.nvim.colorscheme;
github = config.git.github.enable;
inherit (config.nvim) typescriptServer;
};
};