There was an error while loading. Please reload this page.
1 parent 9bb1855 commit ff4d6abCopy full SHA for ff4d6ab
2 files changed
config/languages/lsp.nix
@@ -78,6 +78,7 @@
78
};
79
80
lsp = {
81
+ presets.tailwindcss-language-server.enable = config'.lsp.tailwind.enable;
82
enable = true;
83
trouble = {
84
modules/default.nix
@@ -243,10 +243,6 @@
243
244
lsp.enable = true;
245
246
- tailwind = {
247
- enable = true;
248
- lsp.enable = true;
249
- };
250
terraform = {
251
252
@@ -351,6 +347,14 @@
351
347
'';
352
348
353
349
350
+ tailwind.enable = lib.mkOption {
+ default = true;
+ example = false;
+ description = ''
354
+ Whether to use tailwind lsp
355
+ '';
356
+ };
357
+
358
additionalConfig = lib.mkOption {
359
default = {};
360
type = with lib.types; attrsOf anything;
0 commit comments