Home

jolheiser.com @main - refs - log -
-
https://git.jolheiser.com/jolheiser.com.git
my website
tree log patch
feat: tailwind-ctp-lsp Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmVK1yAACgkQuFOtpdp7 v3pQJg/+NR3K+a0fxAGAKPX9itcuAizBp2kpTcL/NVlGAWLcFhGksED1fbn2Vqia oQciZkQPAhtYaZucc2cGUOstcQbBr6P0GI4AffXHTnoghxtVidRKNk6/psxrm02w J7+Ceto3JHm61VkSOb7BccgGbHv8DLSbeItxPfegePVAoq7ffzBtKVuNPL4MwrcD 6BCx8NCVMdhON0YR1ygyKz/Vz5oCHm++8EhavumFwRfW0OXEDO2SkN5YYNmaizEh rKmUE/M9C344AFk3a6EOlDTzCfsV+NWcfeBSpPs6tNmUPGQ1jves4Vnywgyz+ZHa kDh+YrXA72NVDHhYO0XbV3sGeBhomtUBp3wxM07/Gm10qhIzad/SGx5s1+ojqWmy RlstBfHTrOw5+xpTiyGaYPJ3BWRTLi9IbE+nYXj4UZxfu/Jc5cIsGQPnS+E95dna /zRLadW2i1NG3zUoUDog4HyH9juZaYpSO8Jt3Dtzl7c4V8yTqFFQh7XYki4gocxz j4Tpzw+OGLkE4oUzk3kFZUiPySKa0bQua61PvmvpLzrh36aDwq+dkJpbhRi0ZP22 vFtWQAbbRY7Yxdz2XeFVwnyj3AQ/8gbbvFEUKzez10dU8TPSHZ9Tn67uu4E8I6LR 0JniDZ3XSuLvBNO9f/jxY/3vdgjfRotUkYM9+ZM3nziW8aeuvUc= =7YEA -----END PGP SIGNATURE-----
jolheiser <john.olheiser@gmail.com>
2 years ago
3 changed files, 29 additions(+), 5 deletions(-)
README.mdflake.lockflake.nix
M README.mdREADME.md
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
diff --git a/README.md b/README.md
index d93239586279bea9bac02dcc6cb1387ce52ce6d5..ce91590e95d856f01ae1120e514662b8b33ca443 100644
--- a/README.md
+++ b/README.md
@@ -8,9 +8,6 @@ Links are sourced from [links.yaml](links.yaml).
 
 ## Dev
 
-NOTE: Currently the tailwind LSP assumes this is a JS project with node_modules, so the standalone CLI setup used with the bundled Catppuccin theme breaks the LSP when it ingests the config.
-To get tailwind's LSP to work, the plugin needs to be temporarily commented out. 
-
 ### Tools
 
 ```
M flake.lockflake.lock
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
diff --git a/flake.lock b/flake.lock
index 1d293d1aa2c47ab3458f35fc8c585bc42c10495b..da56845eec3c6b1a191135d3b4b7ba40fa29afd6 100644
--- a/flake.lock
+++ b/flake.lock
@@ -58,7 +58,8 @@       "inputs": {
         "flake-utils": "flake-utils",
         "nixpkgs": "nixpkgs",
         "nur": "nur",
-        "tailwind-ctp": "tailwind-ctp"
+        "tailwind-ctp": "tailwind-ctp",
+        "tailwind-ctp-lsp": "tailwind-ctp-lsp"
       }
     },
     "systems": {
@@ -94,6 +95,26 @@       },
       "original": {
         "type": "git",
         "url": "https://git.jojodev.com/jolheiser/tailwind-ctp"
+      }
+    },
+    "tailwind-ctp-lsp": {
+      "inputs": {
+        "nixpkgs": [
+          "nixpkgs"
+        ]
+      },
+      "locked": {
+        "lastModified": 1699401590,
+        "narHash": "sha256-nx8ExuBRUux9eXSUgkWp1LJMvA3dmA76+2xggZjHTU0=",
+        "ref": "refs/heads/master",
+        "rev": "b321333ad08bf21db242f246b10ad4a50b8fc8a0",
+        "revCount": 848,
+        "type": "git",
+        "url": "https://git.jojodev.com/jolheiser/tailwind-ctp-intellisense"
+      },
+      "original": {
+        "type": "git",
+        "url": "https://git.jojodev.com/jolheiser/tailwind-ctp-intellisense"
       }
     }
   },
M flake.nixflake.nix
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
diff --git a/flake.nix b/flake.nix
index f5868ef2960373f2bdf8af264cdbbe16118b1636..6be095d09382df6c046266144112e21b7cec1358 100644
--- a/flake.nix
+++ b/flake.nix
@@ -10,6 +10,10 @@     tailwind-ctp = {
       url = "git+https://git.jojodev.com/jolheiser/tailwind-ctp";
       inputs.nixpkgs.follows = "nixpkgs";
     };
+    tailwind-ctp-lsp = {
+      url = "git+https://git.jojodev.com/jolheiser/tailwind-ctp-intellisense";
+      inputs.nixpkgs.follows = "nixpkgs";
+    };
   };
 
   outputs = {
@@ -18,12 +22,14 @@     flake-utils,
     nixpkgs,
     nur,
     tailwind-ctp,
+    tailwind-ctp-lsp,
   } @ inputs:
     flake-utils.lib.eachDefaultSystem (
       system: let
         pkgs = nixpkgs.legacyPackages.${system};
         nur = inputs.nur.packages.${system};
         tailwind-ctp = inputs.tailwind-ctp.packages.${system}.default;
+        tailwind-ctp-lsp = inputs.tailwind-ctp-lsp.packages.${system}.default;
       in {
         packages.default = pkgs.buildGoModule {
           pname = "jolheiser.com";
@@ -42,7 +48,7 @@           nativeBuildInputs = with pkgs; [
             go
             nur.templ
             tailwind-ctp
-            tailwindcss-language-server
+            tailwind-ctp-lsp
             vscode-langservers-extracted
           ];
         };